Struct riven::ResponseInfo[][src]

pub struct ResponseInfo {
    pub response: Response,
    pub retries: u8,
    pub status_none: bool,
}
Expand description

A “raw” unparsed successful response from the Riot API, for internal or advanced use cases.

Fields

response: Response

The reqwest response.

retries: u8

The number of retries used, zero for first-try success.

status_none: bool

If the response has an HTTP status code indicating a None response (i.e. 204, 404).

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.