pub struct CreatePasskey {
pub user_id: String,
pub name: String,
pub credential_id: String,
pub public_key: String,
pub counter: u64,
pub device_type: String,
pub backed_up: bool,
pub transports: Option<String>,
}Expand description
Input for creating a new passkey
Fields§
§user_id: String§name: String§credential_id: String§public_key: String§counter: u64§device_type: String§backed_up: bool§transports: Option<String>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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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