Struct aliri_tokens::IdTokenRef [−][src]
#[repr(transparent)]pub struct IdTokenRef(_);
Expand description
A reference to a borrowed IdToken
Implementations
impl IdTokenRef
[src]
impl IdTokenRef
[src]pub fn from_str(raw: &str) -> &Self
[src]
pub fn from_str(raw: &str) -> &Self
[src]Transparently reinterprets the string slice as a strongly-typed IdTokenRef
pub fn into_owned(self: Box<IdTokenRef>) -> IdToken
[src]
pub fn into_owned(self: Box<IdTokenRef>) -> IdToken
[src]Converts a Box<IdTokenRef>
into a IdToken
without copying or allocating
Trait Implementations
impl AsRef<IdTokenRef> for IdToken
[src]
impl AsRef<IdTokenRef> for IdToken
[src]fn as_ref(&self) -> &IdTokenRef
[src]
fn as_ref(&self) -> &IdTokenRef
[src]Performs the conversion.
impl Borrow<IdTokenRef> for IdToken
[src]
impl Borrow<IdTokenRef> for IdToken
[src]fn borrow(&self) -> &IdTokenRef
[src]
fn borrow(&self) -> &IdTokenRef
[src]Immutably borrows from an owned value. Read more
impl Debug for IdTokenRef
[src]
impl Debug for IdTokenRef
[src]impl<'de: 'a, 'a> Deserialize<'de> for &'a IdTokenRef
[src]
impl<'de: 'a, 'a> Deserialize<'de> for &'a IdTokenRef
[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 Display for IdTokenRef
[src]
impl Display for IdTokenRef
[src]impl From<&'_ IdTokenRef> for IdToken
[src]
impl From<&'_ IdTokenRef> for IdToken
[src]fn from(s: &IdTokenRef) -> Self
[src]
fn from(s: &IdTokenRef) -> Self
[src]Performs the conversion.
impl<'a> From<&'a str> for &'a IdTokenRef
[src]
impl<'a> From<&'a str> for &'a IdTokenRef
[src]fn from(s: &'a str) -> &'a IdTokenRef
[src]
fn from(s: &'a str) -> &'a IdTokenRef
[src]Performs the conversion.
impl Hash for IdTokenRef
[src]
impl Hash for IdTokenRef
[src]impl PartialEq<&'_ IdTokenRef> for IdToken
[src]
impl PartialEq<&'_ IdTokenRef> for IdToken
[src]impl PartialEq<Box<IdTokenRef, Global>> for &IdTokenRef
[src]
impl PartialEq<Box<IdTokenRef, Global>> for &IdTokenRef
[src]impl PartialEq<IdToken> for IdTokenRef
[src]
impl PartialEq<IdToken> for IdTokenRef
[src]impl PartialEq<IdToken> for &IdTokenRef
[src]
impl PartialEq<IdToken> for &IdTokenRef
[src]impl PartialEq<IdTokenRef> for IdTokenRef
[src]
impl PartialEq<IdTokenRef> for IdTokenRef
[src]fn eq(&self, other: &IdTokenRef) -> bool
[src]
fn eq(&self, other: &IdTokenRef) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &IdTokenRef) -> bool
[src]
fn ne(&self, other: &IdTokenRef) -> bool
[src]This method tests for !=
.
impl PartialEq<IdTokenRef> for IdToken
[src]
impl PartialEq<IdTokenRef> for IdToken
[src]impl Serialize for IdTokenRef
[src]
impl Serialize for IdTokenRef
[src]impl ToOwned for IdTokenRef
[src]
impl ToOwned for IdTokenRef
[src]fn to_owned(&self) -> Self::Owned
[src]
fn to_owned(&self) -> Self::Owned
[src]Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut Self::Owned)
[src]
fn clone_into(&self, target: &mut Self::Owned)
[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 Eq for IdTokenRef
[src]
impl StructuralEq for IdTokenRef
[src]
impl StructuralPartialEq for IdTokenRef
[src]
Auto Trait Implementations
impl RefUnwindSafe for IdTokenRef
impl Send for IdTokenRef
impl !Sized for IdTokenRef
impl Sync for IdTokenRef
impl Unpin for IdTokenRef
impl UnwindSafe for IdTokenRef
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.