[omg] GUI, mDNS, list games on client start
This commit is contained in:
@ -27,9 +27,7 @@ pub struct Game {
|
||||
/// example: 1.0.0
|
||||
#[serde(with = "version_serde")]
|
||||
pub version: semver::Version,
|
||||
|
||||
/// size (bytes) (not serialized)
|
||||
#[serde(skip)]
|
||||
/// size (bytes)
|
||||
pub size: u64,
|
||||
}
|
||||
|
||||
@ -57,7 +55,7 @@ impl fmt::Display for Game {
|
||||
|
||||
impl PartialEq for Game {
|
||||
fn eq(&self, other: &Self) -> bool {
|
||||
self.name == other.name
|
||||
self.id == other.id
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user