Struct madome_client::book::Book
source · [−]pub struct Book {
pub id: u32,
pub title: String,
pub groups: Vec<String>,
pub artists: Vec<String>,
pub series: Vec<String>,
pub tags: Vec<String>,
pub characters: Vec<String>,
pub language: String,
pub content_type: String,
pub created_at: String,
pub page_count: usize,
}
Fields
id: u32
title: String
groups: Vec<String>
artists: Vec<String>
series: Vec<String>
characters: Vec<String>
language: String
content_type: String
created_at: String
page_count: usize
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Book
impl<'de> Deserialize<'de> for Book
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 From<MetadataBook> for Book
impl From<MetadataBook> for Book
sourcefn from(metadata_book: MetadataBook) -> Book
fn from(metadata_book: MetadataBook) -> Book
Converts to this type from the input type.
impl StructuralPartialEq for Book
Auto Trait Implementations
impl RefUnwindSafe for Book
impl Send for Book
impl Sync for Book
impl Unpin for Book
impl UnwindSafe for Book
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more