Struct tasvideos_api_rs::GameVersion
source · pub struct GameVersion {
pub id: Option<i32>,
pub md5: Option<String>,
pub sha1: Option<String>,
pub name: Option<String>,
pub kind: Option<i32>,
pub region: Option<String>,
pub version: Option<String>,
pub system_code: Option<String>,
}
Expand description
Represents a TASVideos game version (e.g. ROM).
Fields§
§id: Option<i32>
§md5: Option<String>
§sha1: Option<String>
§name: Option<String>
§kind: Option<i32>
§region: Option<String>
§version: Option<String>
§system_code: Option<String>
Trait Implementations§
source§impl Clone for GameVersion
impl Clone for GameVersion
source§fn clone(&self) -> GameVersion
fn clone(&self) -> GameVersion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GameVersion
impl Debug for GameVersion
source§impl Default for GameVersion
impl Default for GameVersion
source§fn default() -> GameVersion
fn default() -> GameVersion
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GameVersion
impl<'de> Deserialize<'de> for GameVersion
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<GameVersion> for GameVersion
impl PartialEq<GameVersion> for GameVersion
source§fn eq(&self, other: &GameVersion) -> bool
fn eq(&self, other: &GameVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GameVersion
impl Serialize for GameVersion
impl Eq for GameVersion
impl StructuralEq for GameVersion
impl StructuralPartialEq for GameVersion
Auto Trait Implementations§
impl RefUnwindSafe for GameVersion
impl Send for GameVersion
impl Sync for GameVersion
impl Unpin for GameVersion
impl UnwindSafe for GameVersion
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.