pub struct CustomInfo {
pub lang: Option<LanguageTag>,
pub info_type: String,
pub content: String,
}Expand description
Any other information about the book/document that didnt fit in the above groups
Fields§
§lang: Option<LanguageTag>§info_type: String§content: StringTrait Implementations§
Source§impl Clone for CustomInfo
impl Clone for CustomInfo
Source§fn clone(&self) -> CustomInfo
fn clone(&self) -> CustomInfo
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 CustomInfo
impl Debug for CustomInfo
Source§impl<'de> Deserialize<'de> for CustomInfo
impl<'de> Deserialize<'de> for CustomInfo
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 CustomInfo
impl PartialEq for CustomInfo
Source§impl Serialize for CustomInfo
impl Serialize for CustomInfo
impl StructuralPartialEq for CustomInfo
Auto Trait Implementations§
impl Freeze for CustomInfo
impl RefUnwindSafe for CustomInfo
impl Send for CustomInfo
impl Sync for CustomInfo
impl Unpin for CustomInfo
impl UnwindSafe for CustomInfo
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