pub struct BookConfig {
pub id: String,
pub title: String,
pub source: String,
pub engine: BookEngine,
pub folders: Vec<String>,
pub tags: Vec<String>,
pub order: i32,
}Fields§
§id: String§title: String§source: String§engine: BookEngine§folders: Vec<String>§order: i32Implementations§
Trait Implementations§
Source§impl Clone for BookConfig
impl Clone for BookConfig
Source§fn clone(&self) -> BookConfig
fn clone(&self) -> BookConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BookConfig
impl Debug for BookConfig
Source§impl<'de> Deserialize<'de> for BookConfig
impl<'de> Deserialize<'de> for BookConfig
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 Eq for BookConfig
Source§impl PartialEq for BookConfig
impl PartialEq for BookConfig
Source§fn eq(&self, other: &BookConfig) -> bool
fn eq(&self, other: &BookConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BookConfig
impl Serialize for BookConfig
impl StructuralPartialEq for BookConfig
Auto Trait Implementations§
impl Freeze for BookConfig
impl RefUnwindSafe for BookConfig
impl Send for BookConfig
impl Sync for BookConfig
impl Unpin for BookConfig
impl UnsafeUnpin for BookConfig
impl UnwindSafe for BookConfig
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