logo
#[repr(u32)]
pub enum ImplicitAuthorization {
    NotAuthorized,
    AuthenticationRequired,
    AdministratorAuthenticationRequired,
    AuthenticationRequiredRetained,
    AdministratorAuthenticationRequiredRetained,
    Authorized,
}
Expand description

An enumeration for granting implicit authorizations.

Variants

NotAuthorized

The Subject is not authorized.

AuthenticationRequired

Authentication is required.

AdministratorAuthenticationRequired

Authentication as an administrator is required.

AuthenticationRequiredRetained

Authentication is required. If the authorization is obtained, it is retained.

AdministratorAuthenticationRequiredRetained

Authentication as an administrator is required. If the authorization is obtained, it is retained.

Authorized

The subject is authorized.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Get the signature for the implementing type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

A DeserializeSeed implementation for this type.

Get a deserializer compatible with this signature.

Get the signature for the implementing type. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.