Struct speedrun_api::types::Platform
source · [−]pub struct Platform<'a> {
pub id: PlatformId<'a>,
pub name: String,
pub released: i64,
pub links: Vec<Link>,
}Fields
id: PlatformId<'a>name: Stringreleased: i64links: Vec<Link>Trait Implementations
sourceimpl<'de, 'a> Deserialize<'de> for Platform<'a>
impl<'de, 'a> Deserialize<'de> for Platform<'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> From<Platform<'a>> for PlatformId<'a>
impl<'a> From<Platform<'a>> for PlatformId<'a>
sourceimpl<'a> PartialEq<Platform<'a>> for Platform<'a>
impl<'a> PartialEq<Platform<'a>> for Platform<'a>
impl<'a> StructuralPartialEq for Platform<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Platform<'a>
impl<'a> Send for Platform<'a>
impl<'a> Sync for Platform<'a>
impl<'a> Unpin for Platform<'a>
impl<'a> UnwindSafe for Platform<'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