Enum kanidmd_lib::value::ApiTokenScope
source · pub enum ApiTokenScope {
ReadOnly,
ReadWrite,
Synchronise,
}
Variants§
Trait Implementations§
source§impl Clone for ApiTokenScope
impl Clone for ApiTokenScope
source§fn clone(&self) -> ApiTokenScope
fn clone(&self) -> ApiTokenScope
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ApiTokenScope
impl Debug for ApiTokenScope
source§impl PartialEq<ApiTokenScope> for ApiTokenScope
impl PartialEq<ApiTokenScope> for ApiTokenScope
source§fn eq(&self, other: &ApiTokenScope) -> bool
fn eq(&self, other: &ApiTokenScope) -> bool
source§impl TryInto<ApiTokenPurpose> for ApiTokenScope
impl TryInto<ApiTokenPurpose> for ApiTokenScope
§type Error = OperationError
type Error = OperationError
The type returned in the event of a conversion error.
source§fn try_into(self: ApiTokenScope) -> Result<ApiTokenPurpose, OperationError>
fn try_into(self: ApiTokenScope) -> Result<ApiTokenPurpose, OperationError>
Performs the conversion.