#[non_exhaustive]pub struct CoverAttributes {
pub description: String,
pub locale: Option<Language>,
pub volume: Option<String>,
pub file_name: String,
pub created_at: MangaDexDateTime,
pub updated_at: Option<MangaDexDateTime>,
pub version: u32,
}Expand description
General cover information.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.description: String§locale: Option<Language>§volume: Option<String>Volume number in the manga.
file_name: StringCover art filename as it’s stored on the MangaDex servers.
created_at: MangaDexDateTimeDatetime in YYYY-MM-DDTHH:MM:SS+HH:MM format.
updated_at: Option<MangaDexDateTime>Datetime in YYYY-MM-DDTHH:MM:SS+HH:MM format.
version: u32Trait Implementations§
Source§impl Clone for CoverAttributes
impl Clone for CoverAttributes
Source§fn clone(&self) -> CoverAttributes
fn clone(&self) -> CoverAttributes
Returns a duplicate 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 CoverAttributes
impl Debug for CoverAttributes
Source§impl Default for CoverAttributes
impl Default for CoverAttributes
Source§fn default() -> CoverAttributes
fn default() -> CoverAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CoverAttributes
impl<'de> Deserialize<'de> for CoverAttributes
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 for CoverAttributes
impl PartialEq for CoverAttributes
Source§impl TypedAttributes for CoverAttributes
impl TypedAttributes for CoverAttributes
const TYPE_: RelationshipType = RelationshipType::CoverArt
impl StructuralPartialEq for CoverAttributes
Auto Trait Implementations§
impl Freeze for CoverAttributes
impl RefUnwindSafe for CoverAttributes
impl Send for CoverAttributes
impl Sync for CoverAttributes
impl Unpin for CoverAttributes
impl UnwindSafe for CoverAttributes
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