pub struct RefreshTokens { /* private fields */ }
Available on crate feature
oauth
only.Expand description
Log into an account.
Makes a request to POST https://auth.mangadex.org/realms/mangadex/protocol/openid-connect/token
.
Implementations§
Source§impl RefreshTokens
impl RefreshTokens
pub async fn send(&mut self) -> Result<OAuthTokenResponse>
Trait Implementations§
Source§impl Clone for RefreshTokens
impl Clone for RefreshTokens
Source§fn clone(&self) -> RefreshTokens
fn clone(&self) -> RefreshTokens
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RefreshTokens
impl !RefUnwindSafe for RefreshTokens
impl !Send for RefreshTokens
impl !Sync for RefreshTokens
impl Unpin for RefreshTokens
impl !UnwindSafe for RefreshTokens
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