[][src]Enum schemeguardian::global::Target

pub enum Target {
    Guardian,
    Global,
    CustomTarget(SecretString),
    Unspecified,
}

Target is the resource being requested or route being accessed

Variants

Guardian

Guardian Target for accounts that have a cloud manager and a user

Global

Global Target has access to administration and user routes or permissions

CustomTarget(SecretString)

A custom role for the user

Unspecified

An unspefified target

Trait Implementations

impl Default for Target[src]

impl PartialEq<Target> for Target[src]

impl Debug for Target[src]

impl StructuralPartialEq for Target[src]

impl Serialize for Target[src]

impl<'de> Deserialize<'de> for Target[src]

Auto Trait Implementations

impl Send for Target

impl Sync for Target

impl Unpin for Target

impl UnwindSafe for Target

impl RefUnwindSafe for Target

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,