pub struct DocumentInfo {
pub authors: Vec<Author>,
pub program_used: Option<LocalizedText>,
pub date: Option<Date>,
pub src_urls: Vec<String>,
pub src_ocr: Option<LocalizedText>,
pub id: Option<String>,
pub version: Option<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: Option<Date>Date 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: Option<String>This is a unique identifier for a document. this must not change
version: Option<f64>Document 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 Clone for DocumentInfo
impl Clone for DocumentInfo
Source§fn clone(&self) -> DocumentInfo
fn clone(&self) -> DocumentInfo
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 DocumentInfo
impl Debug for DocumentInfo
Source§impl<'de> Deserialize<'de> for DocumentInfo
impl<'de> Deserialize<'de> for DocumentInfo
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 DocumentInfo
impl PartialEq for DocumentInfo
Source§impl Serialize for DocumentInfo
impl Serialize for DocumentInfo
impl StructuralPartialEq for DocumentInfo
Auto Trait Implementations§
impl Freeze for DocumentInfo
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