pub struct Chapter {
pub id: String,
pub entity_type: EntityType,
pub attributes: ChapterAttributes,
pub relationships: Vec<Relationship>,
}
Expand description
Main structure used for representing the response containg chapter info
Fields§
§id: String
§entity_type: EntityType
§attributes: ChapterAttributes
§relationships: Vec<Relationship>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Chapter
impl<'de> Deserialize<'de> for Chapter
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 Entity for Chapter
Auto Trait Implementations§
impl Freeze for Chapter
impl RefUnwindSafe for Chapter
impl Send for Chapter
impl Sync for Chapter
impl Unpin for Chapter
impl UnwindSafe for Chapter
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