pub struct TitleInfo {
pub genres: Vec<GenreWithMatch>,
pub authors: Vec<Author>,
pub book_title: LocalizedText,
pub annotation: Option<Annotation>,
pub keywords: Option<LocalizedText>,
pub date: Option<Date>,
pub cover_page: Option<Covers>,
pub lang: String,
pub src_lang: Option<String>,
pub translators: Vec<Author>,
pub sequences: Vec<Sequence>,
}Expand description
Book (as a book opposite a document) description
Fields§
§genres: Vec<GenreWithMatch>Genre of this book, with the optional match percentage
Author(s) of this book
book_title: LocalizedTextBook title
annotation: Option<Annotation>Annotation for this book
keywords: Option<LocalizedText>Any keywords for this book, intended for use in search engines
date: Option<Date>Date this book was written, can be not exact, e.g. 1863-1867. If an optional attribute is present, then it should contain some computer-readable date from the interval for use by search and indexingengines
cover_page: Option<Covers>Any cover page items, currently only images
lang: StringBook’s language
src_lang: Option<String>Book’s source language if this is a translation
translators: Vec<Author>Translators if this is a translation
sequences: Vec<Sequence>Any sequences this book might be part of
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TitleInfo
impl<'de> Deserialize<'de> for TitleInfo
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
impl StructuralPartialEq for TitleInfo
Auto Trait Implementations§
impl Freeze for TitleInfo
impl RefUnwindSafe for TitleInfo
impl Send for TitleInfo
impl Sync for TitleInfo
impl Unpin for TitleInfo
impl UnwindSafe for TitleInfo
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