Struct twitch_oauth2::types::RefreshToken [−][src]
#[repr(transparent)]pub struct RefreshToken(_);
Expand description
A Refresh Token
Implementations
Converts this RefreshToken
into a Box
<
RefreshTokenRef
>
This will drop any excess capacity.
Unwraps the underlying String
value
Methods from Deref<Target = RefreshTokenRef>
Get the secret from this string.
This function is the same as RefreshToken::as_str
, but has another name for searchability, prefer to use this function.
Trait Implementations
Performs the conversion.
Immutably borrows from an owned value. Read more
type Target = RefreshTokenRef
type Target = RefreshTokenRef
The resulting type after dereferencing.
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for RefreshToken
impl Send for RefreshToken
impl Sync for RefreshToken
impl Unpin for RefreshToken
impl UnwindSafe for RefreshToken
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more