Struct aliri_tokens::AccessToken [−][src]
#[repr(transparent)]pub struct AccessToken(_);
Expand description
An access token
Implementations
impl AccessToken
[src]
impl AccessToken
[src]pub fn into_boxed_ref(self) -> Box<AccessTokenRef>
[src]
pub fn into_boxed_ref(self) -> Box<AccessTokenRef>
[src]Converts this AccessToken
into a Box
<
AccessTokenRef
>
This will drop any excess capacity.
pub fn into_string(self) -> String
[src]
pub fn into_string(self) -> String
[src]Unwraps the underlying String
value
Methods from Deref<Target = AccessTokenRef>
Trait Implementations
impl AsRef<AccessTokenRef> for AccessToken
[src]
impl AsRef<AccessTokenRef> for AccessToken
[src]fn as_ref(&self) -> &AccessTokenRef
[src]
fn as_ref(&self) -> &AccessTokenRef
[src]Performs the conversion.
impl Borrow<AccessTokenRef> for AccessToken
[src]
impl Borrow<AccessTokenRef> for AccessToken
[src]fn borrow(&self) -> &AccessTokenRef
[src]
fn borrow(&self) -> &AccessTokenRef
[src]Immutably borrows from an owned value. Read more
impl Clone for AccessToken
[src]
impl Clone for AccessToken
[src]fn clone(&self) -> AccessToken
[src]
fn clone(&self) -> AccessToken
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<'a> Debug for AccessToken
[src]
impl<'a> Debug for AccessToken
[src]impl Deref for AccessToken
[src]
impl Deref for AccessToken
[src]type Target = AccessTokenRef
type Target = AccessTokenRef
The resulting type after dereferencing.
impl<'de> Deserialize<'de> for AccessToken
[src]
impl<'de> Deserialize<'de> for AccessToken
[src]fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]Deserialize this value from the given Serde deserializer. Read more
impl<'a> Display for AccessToken
[src]
impl<'a> Display for AccessToken
[src]impl From<&'_ AccessTokenRef> for AccessToken
[src]
impl From<&'_ AccessTokenRef> for AccessToken
[src]fn from(s: &AccessTokenRef) -> Self
[src]
fn from(s: &AccessTokenRef) -> Self
[src]Performs the conversion.
impl From<Box<AccessTokenRef, Global>> for AccessToken
[src]
impl From<Box<AccessTokenRef, Global>> for AccessToken
[src]fn from(r: Box<AccessTokenRef>) -> Self
[src]
fn from(r: Box<AccessTokenRef>) -> Self
[src]Performs the conversion.
impl<'a> From<Cow<'a, AccessTokenRef>> for AccessToken
[src]
impl<'a> From<Cow<'a, AccessTokenRef>> for AccessToken
[src]fn from(r: Cow<'a, AccessTokenRef>) -> Self
[src]
fn from(r: Cow<'a, AccessTokenRef>) -> Self
[src]Performs the conversion.
impl FromStr for AccessToken
[src]
impl FromStr for AccessToken
[src]impl Hash for AccessToken
[src]
impl Hash for AccessToken
[src]impl PartialEq<&'_ AccessTokenRef> for AccessToken
[src]
impl PartialEq<&'_ AccessTokenRef> for AccessToken
[src]impl PartialEq<AccessToken> for AccessToken
[src]
impl PartialEq<AccessToken> for AccessToken
[src]fn eq(&self, other: &AccessToken) -> bool
[src]
fn eq(&self, other: &AccessToken) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &AccessToken) -> bool
[src]
fn ne(&self, other: &AccessToken) -> bool
[src]This method tests for !=
.
impl PartialEq<AccessToken> for AccessTokenRef
[src]
impl PartialEq<AccessToken> for AccessTokenRef
[src]impl PartialEq<AccessToken> for &AccessTokenRef
[src]
impl PartialEq<AccessToken> for &AccessTokenRef
[src]impl PartialEq<AccessTokenRef> for AccessToken
[src]
impl PartialEq<AccessTokenRef> for AccessToken
[src]impl PartialEq<Box<AccessTokenRef, Global>> for AccessToken
[src]
impl PartialEq<Box<AccessTokenRef, Global>> for AccessToken
[src]impl Serialize for AccessToken
[src]
impl Serialize for AccessToken
[src]impl Eq for AccessToken
[src]
impl StructuralEq for AccessToken
[src]
impl StructuralPartialEq for AccessToken
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,