Struct fb2::FictionBook
source · pub struct FictionBook {
pub stylesheets: Vec<Stylesheet>,
pub description: Description,
pub body: Body,
pub extra_bodies: Vec<Body>,
pub binaries: Vec<Binary>,
}Expand description
Root element
Fields§
§stylesheets: Vec<Stylesheet>This element contains an arbitrary stylesheet that is interpreted by a some processing programs, e.g. text/css stylesheets can be used by XSLT stylesheets to generate better looking html
description: DescriptionBook description
body: BodyMain content of the book, multiple bodies are used for additional information, like footnotes, that do not appear in the main book flow. The first body is presented to the reader by default, and content in the other bodies should be accessible by hyperlinks. Name attribute should describe the meaning of this body, this is optional for the main body.
extra_bodies: Vec<Body>Multiple bodies are used for additional information, like footnotes or comments, that do not appear in the main book flow. The first body is presented to the reader by default, and content in the other bodies should be accessible by hyperlinks. Name attribute should describe the meaning of this body, this is optional for the main body.
binaries: Vec<Binary>Any binary data that is required for the presentation of this book in base64 format. Currently only images are used.
Trait Implementations§
source§impl Debug for FictionBook
impl Debug for FictionBook
source§impl PartialEq<FictionBook> for FictionBook
impl PartialEq<FictionBook> for FictionBook
source§fn eq(&self, other: &FictionBook) -> bool
fn eq(&self, other: &FictionBook) -> bool
self and other values to be equal, and is used
by ==.