Struct speedrun_api::types::Level
source · [−]pub struct Level<'a> {
pub id: LevelId<'a>,
pub name: String,
pub weblink: String,
pub rules: Option<String>,
pub links: Vec<Link>,
}Fields
id: LevelId<'a>name: Stringweblink: Stringrules: Option<String>links: Vec<Link>Trait Implementations
sourceimpl<'de, 'a> Deserialize<'de> for Level<'a>
impl<'de, 'a> Deserialize<'de> for Level<'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<Level<'a>> for Level<'a>
impl<'a> PartialEq<Level<'a>> for Level<'a>
impl<'a> StructuralPartialEq for Level<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Level<'a>
impl<'a> Send for Level<'a>
impl<'a> Sync for Level<'a>
impl<'a> Unpin for Level<'a>
impl<'a> UnwindSafe for Level<'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