pub struct CreatePasskey {
pub accessibility: Option<String>,
pub alg: String,
pub delete_protection: Option<String>,
pub description: Option<String>,
pub json: Option<bool>,
pub name: String,
pub origin_url: Option<Vec<String>>,
pub protection_key_name: Option<String>,
pub tags: Option<Vec<String>>,
pub token: Option<String>,
pub uid_token: Option<String>,
pub username: Option<String>,
}Expand description
CreatePasskey : CreatePasskey is a command that creates a new passkey
Fields§
§accessibility: Option<String>for personal password manager
alg: StringPasskey type; options: [EC256, EC384, EC512]
delete_protection: Option<String>Protection from accidental deletion of this object [true/false]
description: Option<String>Description of the object
json: Option<bool>Set output format to JSON
name: StringClassicKey name
origin_url: Option<Vec<String>>Originating websites for this passkey
protection_key_name: Option<String>The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
Add tags attached to this object
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
username: Option<String>For Password Management use
Implementations§
Source§impl CreatePasskey
impl CreatePasskey
Sourcepub fn new(alg: String, name: String) -> CreatePasskey
pub fn new(alg: String, name: String) -> CreatePasskey
CreatePasskey is a command that creates a new passkey
Trait Implementations§
Source§impl Clone for CreatePasskey
impl Clone for CreatePasskey
Source§fn clone(&self) -> CreatePasskey
fn clone(&self) -> CreatePasskey
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 CreatePasskey
impl Debug for CreatePasskey
Source§impl Default for CreatePasskey
impl Default for CreatePasskey
Source§fn default() -> CreatePasskey
fn default() -> CreatePasskey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreatePasskey
impl<'de> Deserialize<'de> for CreatePasskey
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 CreatePasskey
impl PartialEq for CreatePasskey
Source§fn eq(&self, other: &CreatePasskey) -> bool
fn eq(&self, other: &CreatePasskey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CreatePasskey
impl Serialize for CreatePasskey
impl StructuralPartialEq for CreatePasskey
Auto Trait Implementations§
impl Freeze for CreatePasskey
impl RefUnwindSafe for CreatePasskey
impl Send for CreatePasskey
impl Sync for CreatePasskey
impl Unpin for CreatePasskey
impl UnsafeUnpin for CreatePasskey
impl UnwindSafe for CreatePasskey
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