Enum bonsaidb::core::permissions::bonsai::AuthenticationMethod
pub enum AuthenticationMethod {
PasswordHash,
}
Expand description
Methods for user authentication.
Variants§
PasswordHash
Authenticate the user using password hashing (Argon2).
Trait Implementations§
§impl Action for AuthenticationMethod
impl Action for AuthenticationMethod
§fn name(&self) -> ActionName
fn name(&self) -> ActionName
The full name of this action.
§impl Clone for AuthenticationMethod
impl Clone for AuthenticationMethod
§fn clone(&self) -> AuthenticationMethod
fn clone(&self) -> AuthenticationMethod
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 more§impl Debug for AuthenticationMethod
impl Debug for AuthenticationMethod
§impl<'de> Deserialize<'de> for AuthenticationMethod
impl<'de> Deserialize<'de> for AuthenticationMethod
§fn deserialize<__D>(
__deserializer: __D
) -> Result<AuthenticationMethod, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<AuthenticationMethod, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for AuthenticationMethod
impl Serialize for AuthenticationMethod
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more