[−][src]Struct bookbinder::deserialization::DeserializableBookSrc
A simplified representation of a book source for easy deserializing.
The only required values are title
and mainmatter
.
Fields
title: Cow<'a, str>
The title of the book
halftitle: Option<Cow<'a, str>>
Optional custom halftitle
do_not_generate_halftitle: bool
Whether to not generate a halftitle if it has not been set explicitly
do_not_generate_titlepage: bool
do_not_generate_copyrightpage: bool
translators: Option<Vec<Cow<'a, str>>>
editors: Option<Vec<Cow<'a, str>>>
cover_designer: Option<Cow<'a, str>>
shorttitle: Option<Cow<'a, str>>
subtitle: Option<Cow<'a, str>>
paperback_isbn: Option<Cow<'a, str>>
epub_isbn: Option<Cow<'a, str>>
hardback_isbn: Option<Cow<'a, str>>
publisher: Option<Cow<'a, str>>
publisher_address: Option<Cow<'a, str>>
publisher_url: Option<Cow<'a, str>>
print_location: Option<Cow<'a, str>>
copyright_statement: Option<Cow<'a, str>>
do_not_assert_moral_rights: bool
is_not_first_publication: bool
dedication: Option<Cow<'a, str>>
colophon: Option<Cow<'a, str>>
forewords: Vec<AuthoredAncillaryText<'a>>
afterwords: Vec<AuthoredAncillaryText<'a>>
introductions: Vec<AuthoredAncillaryText<'a>>
preface: Option<UnauthoredAncillaryText<'a>>
acknowledgements: Option<UnauthoredAncillaryText<'a>>
appendices: Vec<UnauthoredAncillaryText<'a>>
mainmatter: Vec<PathOrString<'a>>
epigraphs: Vec<Epigraph<'a>>
Trait Implementations
impl<'a> Debug for DeserializableBookSrc<'a>
[src]
impl<'de: 'a, 'a> Deserialize<'de> for DeserializableBookSrc<'a>
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<'a> TryFrom<DeserializableBookSrc<'a>> for BookSrc<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for DeserializableBookSrc<'a>
impl<'a> Send for DeserializableBookSrc<'a>
impl<'a> Sync for DeserializableBookSrc<'a>
impl<'a> Unpin for DeserializableBookSrc<'a>
impl<'a> UnwindSafe for DeserializableBookSrc<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,