pub enum HumanLoginProvider {
Password,
Nostr,
}Expand description
Configurable provider used to authenticate a human user.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HumanLoginProvider
impl Clone for HumanLoginProvider
impl Copy for HumanLoginProvider
Source§impl Debug for HumanLoginProvider
impl Debug for HumanLoginProvider
Source§impl<'de> Deserialize<'de> for HumanLoginProvider
impl<'de> Deserialize<'de> for HumanLoginProvider
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HumanLoginProvider
Source§impl Hash for HumanLoginProvider
impl Hash for HumanLoginProvider
Source§impl Ord for HumanLoginProvider
impl Ord for HumanLoginProvider
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for HumanLoginProvider
impl PartialEq for HumanLoginProvider
Source§impl PartialOrd for HumanLoginProvider
impl PartialOrd for HumanLoginProvider
Source§impl Serialize for HumanLoginProvider
impl Serialize for HumanLoginProvider
impl StructuralPartialEq for HumanLoginProvider
Auto Trait Implementations§
impl Freeze for HumanLoginProvider
impl RefUnwindSafe for HumanLoginProvider
impl Send for HumanLoginProvider
impl Sync for HumanLoginProvider
impl Unpin for HumanLoginProvider
impl UnsafeUnpin for HumanLoginProvider
impl UnwindSafe for HumanLoginProvider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more