[][src]Struct aliri_oauth2::ScopeRef

#[repr(transparent)]pub struct ScopeRef(_);

Reference to a Scope

Implementations

impl ScopeRef[src]

pub fn from_str(raw: &str) -> &Self[src]

Transparently reinterprets the string slice as a strongly-typed value.

pub const fn as_str(&self) -> &str[src]

Provides access to the underlying value as a string slice.

Trait Implementations

impl AsRef<ScopeRef> for Scope[src]

impl AsRef<ScopeRef> for ScopeRef[src]

impl Borrow<ScopeRef> for Scope[src]

impl Debug for ScopeRef[src]

impl<'de: 'a, 'a> Deserialize<'de> for &'a ScopeRef[src]

impl<'a> Display for &'a ScopeRef[src]

impl Eq for ScopeRef[src]

impl<'_> From<&'_ ScopeRef> for Scope[src]

impl Hash for ScopeRef[src]

impl PartialEq<Scope> for ScopeRef[src]

impl PartialEq<ScopeRef> for ScopeRef[src]

impl PartialEq<ScopeRef> for Scope[src]

impl<'a> Serialize for &'a ScopeRef[src]

impl StructuralEq for ScopeRef[src]

impl StructuralPartialEq for ScopeRef[src]

impl ToOwned for ScopeRef[src]

type Owned = Scope

The resulting type after obtaining ownership.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.