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

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.