pub struct RefreshTokensBuilder { /* private fields */ }
Available on crate feature
oauth
only.Expand description
Builder for RefreshTokens
.
Implementations§
Source§impl RefreshTokensBuilder
impl RefreshTokensBuilder
Sourcepub fn build(&self) -> Result<RefreshTokens, BuilderError>
pub fn build(&self) -> Result<RefreshTokens, BuilderError>
Sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None
or PhantomData
.
Source§impl RefreshTokensBuilder
impl RefreshTokensBuilder
pub async fn send(&self) -> Result<OAuthTokenResponse>
Trait Implementations§
Source§impl Clone for RefreshTokensBuilder
impl Clone for RefreshTokensBuilder
Source§fn clone(&self) -> RefreshTokensBuilder
fn clone(&self) -> RefreshTokensBuilder
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 RefreshTokensBuilder
impl !RefUnwindSafe for RefreshTokensBuilder
impl !Send for RefreshTokensBuilder
impl !Sync for RefreshTokensBuilder
impl Unpin for RefreshTokensBuilder
impl !UnwindSafe for RefreshTokensBuilder
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