Struct steamgriddb_api::query_parameters::HeroQueryParameters[][src]

pub struct HeroQueryParameters<'a> {
    pub styles: Option<&'a [Style]>,
    pub dimentions: Option<&'a [HeroDimentions]>,
    pub mimes: Option<&'a [MimeType]>,
    pub types: Option<&'a [AnimtionType]>,
    pub nsfw: Option<&'a Nsfw>,
    pub humor: Option<&'a Humor>,
}
Expand description

Qeury parameters for hero images

Fields

styles: Option<&'a [Style]>

The hero styles

dimentions: Option<&'a [HeroDimentions]>mimes: Option<&'a [MimeType]>types: Option<&'a [AnimtionType]>nsfw: Option<&'a Nsfw>

If Not Safe For Work images are allowed

humor: Option<&'a Humor>

If humor images are allowed

Trait Implementations

Returns the “default value” for a type. 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

Performs the conversion.

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

Performs the conversion.

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.

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