pub struct CoverMeta {
pub id: Option<i64>,
pub size: Option<String>,
pub url: Option<String>,
pub width: Option<u32>,
pub height: Option<u32>,
}Expand description
Metadata for one cover image, returned by the covers JSON endpoint.
Fields§
§id: Option<i64>§size: Option<String>§url: Option<String>§width: Option<u32>§height: Option<u32>Trait Implementations§
Source§impl<'de> Deserialize<'de> for CoverMeta
impl<'de> Deserialize<'de> for CoverMeta
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
Auto Trait Implementations§
impl Freeze for CoverMeta
impl RefUnwindSafe for CoverMeta
impl Send for CoverMeta
impl Sync for CoverMeta
impl Unpin for CoverMeta
impl UnsafeUnpin for CoverMeta
impl UnwindSafe for CoverMeta
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