Struct fb2::Description
source · pub struct Description {
pub title_info: TitleInfo,
pub src_title_info: Option<TitleInfo>,
pub document_info: 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: DocumentInfoInformation 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 Debug for Description
impl Debug for Description
source§impl PartialEq<Description> for Description
impl PartialEq<Description> for Description
source§fn eq(&self, other: &Description) -> bool
fn eq(&self, other: &Description) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for Description
Auto Trait Implementations§
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