pub struct Description {
pub title_info: TitleInfo,
pub src_title_info: Option<TitleInfo>,
pub document_info: Option<DocumentInfo>,
pub publish_info: Option<PublishInfo>,
pub custom_info: Vec<CustomInfo>,
pub output: Vec<ShareInstruction>,
}Fields§
§title_info: TitleInfoGeneric information about the book
src_title_info: Option<TitleInfo>Generic information about the original book (for translations)
document_info: Option<DocumentInfo>Information about this particular (xml) document
publish_info: Option<PublishInfo>Information about some paper/outher published document, that was used as a source of this xml document
custom_info: Vec<CustomInfo>Any other information about the book/document that didnt fit in the above groups
output: Vec<ShareInstruction>Describes, how the document should be presented to end-user, what parts are free, what parts should be sold and what price should be used
Trait Implementations§
Source§impl Clone for Description
impl Clone for Description
Source§fn clone(&self) -> Description
fn clone(&self) -> Description
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 Description
impl Debug for Description
Source§impl<'de> Deserialize<'de> for Description
impl<'de> Deserialize<'de> for Description
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 Description
impl PartialEq for Description
Source§impl Serialize for Description
impl Serialize for Description
impl StructuralPartialEq for Description
Auto Trait Implementations§
impl Freeze for Description
impl RefUnwindSafe for Description
impl Send for Description
impl Sync for Description
impl Unpin for Description
impl UnwindSafe for Description
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