pub struct Title {
pub pretty: Option<String>,
pub english: Option<String>,
pub japanese: Option<String>,
}
Expand description
nhentai provides three different types of titles. The first one is pretty
, which is a
simple title meant to stand out. The english
and japanese
titles are also provided.
These are more fleshed out versions of the pretty
title.
None of these fields are guaranteed to be provided. They might be set to an empty String
, in
which case they will be set to Some("")
. In other cases, the field may not be specified at
all, in which case they will be set to None
.
Fields
pretty: Option<String>
english: Option<String>
japanese: Option<String>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Title
impl<'de> Deserialize<'de> for Title
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for Title
impl Send for Title
impl Sync for Title
impl Unpin for Title
impl UnwindSafe for Title
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more