pub struct SecurityKey {
pub device_nickname: Option<String>,
pub private_key: Option<String>,
pub public_key: Option<String>,
pub universal_two_factor: Option<UniversalTwoFactor>,
pub web_authn: Option<WebAuthn>,
}Expand description
The credential information for a Google registered security key.
This type is not used in any activity, and only used as part of another schema.
Fields§
§device_nickname: Option<String>The security key nickname explicitly set by the user.
private_key: Option<String>Hardware-backed private key text in SSH format.
public_key: Option<String>Public key text in SSH format, defined by RFC4253 section 6.6.
universal_two_factor: Option<UniversalTwoFactor>The U2F protocol type.
web_authn: Option<WebAuthn>The Web Authentication protocol type.
Trait Implementations§
Source§impl Clone for SecurityKey
impl Clone for SecurityKey
Source§fn clone(&self) -> SecurityKey
fn clone(&self) -> SecurityKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SecurityKey
impl Debug for SecurityKey
Source§impl Default for SecurityKey
impl Default for SecurityKey
Source§fn default() -> SecurityKey
fn default() -> SecurityKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecurityKey
impl<'de> Deserialize<'de> for SecurityKey
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 Part for SecurityKey
Auto Trait Implementations§
impl Freeze for SecurityKey
impl RefUnwindSafe for SecurityKey
impl Send for SecurityKey
impl Sync for SecurityKey
impl Unpin for SecurityKey
impl UnsafeUnpin for SecurityKey
impl UnwindSafe for SecurityKey
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