pub struct Credential {
pub credential_id: Vec<u8>,
pub is_resident_credential: bool,
pub rp_id: Option<String>,
pub private_key: Vec<u8>,
pub user_handle: Option<Vec<u8>>,
pub sign_count: JsUInt,
pub large_blob: Option<Vec<u8>>,
pub backup_eligibility: Option<bool>,
pub backup_state: Option<bool>,
pub user_name: Option<String>,
pub user_display_name: Option<String>,
}Fields§
§credential_id: Vec<u8>§is_resident_credential: bool§rp_id: Option<String>§private_key: Vec<u8>§user_handle: Option<Vec<u8>>§sign_count: JsUInt§large_blob: Option<Vec<u8>>§backup_eligibility: Option<bool>§backup_state: Option<bool>§user_name: Option<String>§user_display_name: Option<String>Trait Implementations§
Source§impl Clone for Credential
impl Clone for Credential
Source§fn clone(&self) -> Credential
fn clone(&self) -> Credential
Returns a duplicate 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 Credential
impl Debug for Credential
Source§impl<'de> Deserialize<'de> for Credential
impl<'de> Deserialize<'de> for Credential
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
Source§impl PartialEq for Credential
impl PartialEq for Credential
Source§impl Serialize for Credential
impl Serialize for Credential
impl StructuralPartialEq for Credential
Auto Trait Implementations§
impl Freeze for Credential
impl RefUnwindSafe for Credential
impl Send for Credential
impl Sync for Credential
impl Unpin for Credential
impl UnwindSafe for Credential
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