Struct mangadex::api::auth::RefreshToken [−][src]
pub struct RefreshToken<'a> { pub refresh_token: &'a str, }
Expand description
Get a new session and refresh token
This struct only does the API call.
In order to update the tokens used by the Client
, use the
Client::refresh_tokens()
method.
Call to POST /auth/refresh
Fields
refresh_token: &'a str
Refresh token
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for RefreshToken<'a>
impl<'a> Send for RefreshToken<'a>
impl<'a> Sync for RefreshToken<'a>
impl<'a> Unpin for RefreshToken<'a>
impl<'a> UnwindSafe for RefreshToken<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V