pub enum HumanCredentialResponse {
Password {
username: Box<str>,
version: u64,
created_at: OffsetDateTime,
updated_at: OffsetDateTime,
},
Nostr {
public_key: Box<str>,
version: u64,
created_at: OffsetDateTime,
updated_at: OffsetDateTime,
},
}Expand description
Non-secret metadata for one human login credential.
Variants§
Trait Implementations§
Source§impl Clone for HumanCredentialResponse
impl Clone for HumanCredentialResponse
Source§impl Debug for HumanCredentialResponse
impl Debug for HumanCredentialResponse
Source§impl<'de> Deserialize<'de> for HumanCredentialResponse
impl<'de> Deserialize<'de> for HumanCredentialResponse
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 HumanCredentialResponse
Source§impl PartialEq for HumanCredentialResponse
impl PartialEq for HumanCredentialResponse
Source§impl Serialize for HumanCredentialResponse
impl Serialize for HumanCredentialResponse
impl StructuralPartialEq for HumanCredentialResponse
Auto Trait Implementations§
impl Freeze for HumanCredentialResponse
impl RefUnwindSafe for HumanCredentialResponse
impl Send for HumanCredentialResponse
impl Sync for HumanCredentialResponse
impl Unpin for HumanCredentialResponse
impl UnsafeUnpin for HumanCredentialResponse
impl UnwindSafe for HumanCredentialResponse
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