pub struct Cover {
pub extra_large: Option<String>,
pub large: Option<String>,
pub medium: Option<String>,
pub color: Option<Color>,
}
Expand description
Represents the cover images of various sizes and the color of the cover.
The Cover
struct contains URLs for the cover images in different sizes
(extra large, large, and medium) and an optional color.
§Fields
extra_large
- The URL of the cover image in extra large size.large
- The URL of the cover image in large size.medium
- The URL of the cover image in medium size.color
- The color of the cover image.
Fields§
§extra_large: Option<String>
The URL of the cover image in extra large size.
large: Option<String>
The URL of the cover image in large size.
medium: Option<String>
The URL of the cover image in medium size.
color: Option<Color>
The color of the cover image.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cover
impl<'de> Deserialize<'de> for Cover
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
impl StructuralPartialEq for Cover
Auto Trait Implementations§
impl Freeze for Cover
impl RefUnwindSafe for Cover
impl Send for Cover
impl Sync for Cover
impl Unpin for Cover
impl UnwindSafe for Cover
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