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
sourceimpl Clone for GameVersion
impl Clone for GameVersion
sourcefn clone(&self) -> GameVersion
fn clone(&self) -> GameVersion
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GameVersion
impl Debug for GameVersion
sourceimpl Default for GameVersion
impl Default for GameVersion
sourcefn default() -> GameVersion
fn default() -> GameVersion
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GameVersion
impl<'de> Deserialize<'de> for GameVersion
sourcefn 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
sourceimpl PartialEq<GameVersion> for GameVersion
impl PartialEq<GameVersion> for GameVersion
sourcefn eq(&self, other: &GameVersion) -> bool
fn eq(&self, other: &GameVersion) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.