Struct riven::ResponseInfo
source · 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§
impl !Freeze for ResponseInfo
impl !RefUnwindSafe for ResponseInfo
impl Send for ResponseInfo
impl Sync for ResponseInfo
impl Unpin for ResponseInfo
impl !UnwindSafe for ResponseInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more