Struct rustemon::api::model::resource::FlavorText [−][src]
pub struct FlavorText {
pub flavor_text: Option<String>,
pub language: Option<NamedApiResource>,
pub version: Option<NamedApiResource>,
}Expand description
Fields
flavor_text: Option<String>The localized flavor text for an API resource in a specific language.
language: Option<NamedApiResource>The language this name is in.
version: Option<NamedApiResource>The game version this flavor text is extracted from.
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for FlavorText
impl Send for FlavorText
impl Sync for FlavorText
impl Unpin for FlavorText
impl UnwindSafe for FlavorText
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more