Struct rosu_v2::model::seasonal_backgrounds::SeasonalBackground
source · pub struct SeasonalBackground {
pub url: String,
pub artist: UserCompact,
}
Expand description
Details of a background
Fields§
§url: String
URL to the image
artist: UserCompact
UserCompact
of the artist of the art
Trait Implementations§
source§impl Clone for SeasonalBackground
impl Clone for SeasonalBackground
source§fn clone(&self) -> SeasonalBackground
fn clone(&self) -> SeasonalBackground
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SeasonalBackground
impl Debug for SeasonalBackground
source§impl<'de> Deserialize<'de> for SeasonalBackground
impl<'de> Deserialize<'de> for SeasonalBackground
source§fn 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
source§impl PartialEq<SeasonalBackground> for SeasonalBackground
impl PartialEq<SeasonalBackground> for SeasonalBackground
source§fn eq(&self, other: &SeasonalBackground) -> bool
fn eq(&self, other: &SeasonalBackground) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SeasonalBackground
Auto Trait Implementations§
impl RefUnwindSafe for SeasonalBackground
impl Send for SeasonalBackground
impl Sync for SeasonalBackground
impl Unpin for SeasonalBackground
impl UnwindSafe for SeasonalBackground
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more