Struct speedrun_api::types::Run
source · [−]pub struct Run<'a> {Show 16 fields
pub id: RunId<'a>,
pub weblink: String,
pub game: GameId<'a>,
pub level: Option<LevelId<'a>>,
pub category: CategoryId<'a>,
pub videos: Option<Videos>,
pub comment: Option<String>,
pub status: Status<'a>,
pub players: Vec<Player<'a>>,
pub date: Option<String>,
pub submitted: Option<String>,
pub times: Times,
pub system: System<'a>,
pub splits: Option<Link>,
pub values: HashMap<VariableId<'a>, String>,
pub links: Option<Vec<Link>>,
}Fields
id: RunId<'a>weblink: Stringgame: GameId<'a>level: Option<LevelId<'a>>category: CategoryId<'a>videos: Option<Videos>comment: Option<String>status: Status<'a>players: Vec<Player<'a>>date: Option<String>submitted: Option<String>times: Timessystem: System<'a>splits: Option<Link>values: HashMap<VariableId<'a>, String>links: Option<Vec<Link>>Trait Implementations
sourceimpl<'de, 'a> Deserialize<'de> for Run<'a>
impl<'de, 'a> Deserialize<'de> for Run<'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<Run<'a>> for CategoryId<'a>
impl<'a> From<Run<'a>> for CategoryId<'a>
sourceimpl<'a> PartialEq<Run<'a>> for Run<'a>
impl<'a> PartialEq<Run<'a>> for Run<'a>
impl<'a> StructuralPartialEq for Run<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Run<'a>
impl<'a> Send for Run<'a>
impl<'a> Sync for Run<'a>
impl<'a> Unpin for Run<'a>
impl<'a> UnwindSafe for Run<'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