Struct speedrun_api::types::System
source · [−]pub struct System<'a> {
pub platform: Option<PlatformId<'a>>,
pub emulated: bool,
pub region: Option<RegionId<'a>>,
}Fields
platform: Option<PlatformId<'a>>emulated: boolregion: Option<RegionId<'a>>Trait Implementations
sourceimpl<'de, 'a> Deserialize<'de> for System<'a>
impl<'de, 'a> Deserialize<'de> for System<'a>
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<'a> PartialEq<System<'a>> for System<'a>
impl<'a> PartialEq<System<'a>> for System<'a>
impl<'a> StructuralPartialEq for System<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for System<'a>
impl<'a> Send for System<'a>
impl<'a> Sync for System<'a>
impl<'a> Unpin for System<'a>
impl<'a> UnwindSafe for System<'a>
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<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more