Struct fb2::DocumentInfo
source · pub struct DocumentInfo {
pub authors: Vec<Author>,
pub program_used: Option<LocalizedText>,
pub date: Date,
pub src_urls: Vec<String>,
pub src_ocr: Option<LocalizedText>,
pub id: String,
pub version: f64,
pub history: Option<Annotation>,
pub publishers: Vec<Author>,
}Fields§
Author(s) of this particular document
program_used: Option<LocalizedText>Any software used in preparation of this document, in free format
date: DateDate this document was created, same guidelines as in the <title-info> section apply
src_urls: Vec<String>Source URL if this document is a conversion of some other (online) document
src_ocr: Option<LocalizedText>Author of the original (online) document, if this is a conversion
id: StringThis is a unique identifier for a document. this must not change
version: f64Document version, in free format, should be incremented if the document is changed and re-released to the public
history: Option<Annotation>Short description for all changes made to this document, like “Added missing chapter 6”, in free form.
publishers: Vec<Author>Owner of the fb2 document copyrights
Trait Implementations§
source§impl Debug for DocumentInfo
impl Debug for DocumentInfo
source§impl PartialEq<DocumentInfo> for DocumentInfo
impl PartialEq<DocumentInfo> for DocumentInfo
source§fn eq(&self, other: &DocumentInfo) -> bool
fn eq(&self, other: &DocumentInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DocumentInfo
Auto Trait Implementations§
impl RefUnwindSafe for DocumentInfo
impl Send for DocumentInfo
impl Sync for DocumentInfo
impl Unpin for DocumentInfo
impl UnwindSafe for DocumentInfo
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