Struct twitch_oauth2::types::AccessToken [−][src]
#[repr(transparent)]pub struct AccessToken(_);
Expand description
An Access Token
Implementations
Converts this AccessToken
into a Box
<
AccessTokenRef
>
This will drop any excess capacity.
Unwraps the underlying String
value
Methods from Deref<Target = AccessTokenRef>
Get the secret from this string.
This function is the same as AccessToken::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 = AccessTokenRef
type Target = AccessTokenRef
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 AccessToken
impl Send for AccessToken
impl Sync for AccessToken
impl Unpin for AccessToken
impl UnwindSafe for AccessToken
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