pub struct Chapter {
pub name: String,
pub path: String,
pub content: Vec<String>,
pub published: u64,
pub edited: u64,
}
Fields§
§name: String
§path: String
§content: Vec<String>
§published: u64
§edited: u64
Implementations§
Source§impl Chapter
impl Chapter
pub fn from_reference( reference: &ChapterReference, client: &RoyalClient, ) -> Option<Chapter>
Trait Implementations§
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