Struct speedrun_api::types::Assets
source · [−]pub struct Assets {
pub logo: Asset,
pub cover_tiny: Asset,
pub cover_small: Asset,
pub cover_medium: Asset,
pub cover_large: Asset,
pub icon: Asset,
pub trophy_1st: Asset,
pub trophy_2nd: Asset,
pub trophy_3rd: Asset,
pub trophy_4th: Option<Asset>,
pub background: Option<Asset>,
pub foreground: Option<Asset>,
}Fields
logo: Assetcover_tiny: Assetcover_small: Assetcover_medium: Assetcover_large: Asseticon: Assettrophy_1st: Assettrophy_2nd: Assettrophy_3rd: Assettrophy_4th: Option<Asset>background: Option<Asset>foreground: Option<Asset>Trait Implementations
sourceimpl<'de> Deserialize<'de> for Assets
impl<'de> Deserialize<'de> for Assets
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 PartialEq<Assets> for Assets
impl PartialEq<Assets> for Assets
impl StructuralPartialEq for Assets
Auto Trait Implementations
impl RefUnwindSafe for Assets
impl Send for Assets
impl Sync for Assets
impl Unpin for Assets
impl UnwindSafe for Assets
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