Struct speedrun_api::api::platforms::PlatformId
source · [−]pub struct PlatformId<'a>(_);Expand description
Represents a platform ID.
Implementations
sourceimpl<'a> PlatformId<'a>
impl<'a> PlatformId<'a>
Trait Implementations
sourceimpl<'a> Clone for PlatformId<'a>
impl<'a> Clone for PlatformId<'a>
sourcefn clone(&self) -> PlatformId<'a>
fn clone(&self) -> PlatformId<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> Debug for PlatformId<'a>
impl<'a> Debug for PlatformId<'a>
sourceimpl<'de, 'a> Deserialize<'de> for PlatformId<'a>
impl<'de, 'a> Deserialize<'de> for PlatformId<'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 Display for PlatformId<'_>
impl Display for PlatformId<'_>
sourceimpl<'a> From<Platform<'a>> for PlatformId<'a>
impl<'a> From<Platform<'a>> for PlatformId<'a>
sourceimpl<'a> Hash for PlatformId<'a>
impl<'a> Hash for PlatformId<'a>
sourceimpl<'a> PartialEq<PlatformId<'a>> for PlatformId<'a>
impl<'a> PartialEq<PlatformId<'a>> for PlatformId<'a>
sourcefn eq(&self, other: &PlatformId<'a>) -> bool
fn eq(&self, other: &PlatformId<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl<'a> Serialize for PlatformId<'a>
impl<'a> Serialize for PlatformId<'a>
impl<'a> Eq for PlatformId<'a>
impl<'a> StructuralEq for PlatformId<'a>
impl<'a> StructuralPartialEq for PlatformId<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PlatformId<'a>
impl<'a> Send for PlatformId<'a>
impl<'a> Sync for PlatformId<'a>
impl<'a> Unpin for PlatformId<'a>
impl<'a> UnwindSafe for PlatformId<'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<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.
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