pub struct Fido2CredentialFullView {Show 13 fields
pub credential_id: String,
pub key_type: String,
pub key_algorithm: String,
pub key_curve: String,
pub key_value: String,
pub rp_id: String,
pub user_handle: Option<String>,
pub user_name: Option<String>,
pub counter: String,
pub rp_name: Option<String>,
pub user_display_name: Option<String>,
pub discoverable: String,
pub creation_date: DateTime<Utc>,
}
Fields§
§credential_id: String
§key_type: String
§key_algorithm: String
§key_curve: String
§key_value: String
§rp_id: String
§user_handle: Option<String>
§user_name: Option<String>
§counter: String
§rp_name: Option<String>
§user_display_name: Option<String>
§discoverable: String
§creation_date: DateTime<Utc>
Trait Implementations§
Source§impl Clone for Fido2CredentialFullView
impl Clone for Fido2CredentialFullView
Source§fn clone(&self) -> Fido2CredentialFullView
fn clone(&self) -> Fido2CredentialFullView
Returns a copy 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 CompositeEncryptable<KeyIds, SymmetricKeyId, Fido2Credential> for Fido2CredentialFullView
impl CompositeEncryptable<KeyIds, SymmetricKeyId, Fido2Credential> for Fido2CredentialFullView
Source§fn encrypt_composite(
&self,
ctx: &mut KeyStoreContext<'_, KeyIds>,
key: SymmetricKeyId,
) -> Result<Fido2Credential, CryptoError>
fn encrypt_composite( &self, ctx: &mut KeyStoreContext<'_, KeyIds>, key: SymmetricKeyId, ) -> Result<Fido2Credential, CryptoError>
For a struct made up of many small encstrings, such as a cipher, this takes the struct
and recursively encrypts all the fields / sub-structs.
Source§impl Debug for Fido2CredentialFullView
impl Debug for Fido2CredentialFullView
Source§impl Decryptable<KeyIds, SymmetricKeyId, Fido2CredentialFullView> for Fido2Credential
impl Decryptable<KeyIds, SymmetricKeyId, Fido2CredentialFullView> for Fido2Credential
fn decrypt( &self, ctx: &mut KeyStoreContext<'_, KeyIds>, key: SymmetricKeyId, ) -> Result<Fido2CredentialFullView, CryptoError>
Source§impl Decryptable<KeyIds, SymmetricKeyId, Fido2CredentialFullView> for Fido2CredentialView
impl Decryptable<KeyIds, SymmetricKeyId, Fido2CredentialFullView> for Fido2CredentialView
fn decrypt( &self, ctx: &mut KeyStoreContext<'_, KeyIds>, key: SymmetricKeyId, ) -> Result<Fido2CredentialFullView, CryptoError>
Source§impl<'de> Deserialize<'de> for Fido2CredentialFullView
impl<'de> Deserialize<'de> for Fido2CredentialFullView
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 From<Fido2CredentialFullView> for Fido2CredentialNewView
impl From<Fido2CredentialFullView> for Fido2CredentialNewView
Source§fn from(value: Fido2CredentialFullView) -> Self
fn from(value: Fido2CredentialFullView) -> Self
Converts to this type from the input type.
Source§impl From<Fido2CredentialFullView> for JsValuewhere
Fido2CredentialFullView: Serialize,
impl From<Fido2CredentialFullView> for JsValuewhere
Fido2CredentialFullView: Serialize,
Source§fn from(value: Fido2CredentialFullView) -> Self
fn from(value: Fido2CredentialFullView) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for Fido2CredentialFullViewwhere
Self: DeserializeOwned,
impl FromWasmAbi for Fido2CredentialFullViewwhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for Fido2CredentialFullViewwhere
Fido2CredentialFullView: Serialize,
impl IntoWasmAbi for Fido2CredentialFullViewwhere
Fido2CredentialFullView: Serialize,
Source§impl OptionFromWasmAbi for Fido2CredentialFullViewwhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for Fido2CredentialFullViewwhere
Self: DeserializeOwned,
Source§impl RefFromWasmAbi for Fido2CredentialFullViewwhere
Self: DeserializeOwned,
impl RefFromWasmAbi for Fido2CredentialFullViewwhere
Self: DeserializeOwned,
Source§type Abi = <JsType as RefFromWasmAbi>::Abi
type Abi = <JsType as RefFromWasmAbi>::Abi
The Wasm ABI type references to
Self
are recovered from.Source§type Anchor = SelfOwner<Fido2CredentialFullView>
type Anchor = SelfOwner<Fido2CredentialFullView>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl Serialize for Fido2CredentialFullView
impl Serialize for Fido2CredentialFullView
Source§impl Tsify for Fido2CredentialFullView
impl Tsify for Fido2CredentialFullView
const DECL: &'static str = "export interface Fido2CredentialFullView {\n credentialId: string;\n keyType: string;\n keyAlgorithm: string;\n keyCurve: string;\n keyValue: string;\n rpId: string;\n userHandle: string | undefined;\n userName: string | undefined;\n counter: string;\n rpName: string | undefined;\n userDisplayName: string | undefined;\n discoverable: string;\n creationDate: DateTime<Utc>;\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
Source§impl VectorFromWasmAbi for Fido2CredentialFullViewwhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for Fido2CredentialFullViewwhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for Fido2CredentialFullViewwhere
Fido2CredentialFullView: Serialize,
impl VectorIntoWasmAbi for Fido2CredentialFullViewwhere
Fido2CredentialFullView: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Auto Trait Implementations§
impl Freeze for Fido2CredentialFullView
impl RefUnwindSafe for Fido2CredentialFullView
impl Send for Fido2CredentialFullView
impl Sync for Fido2CredentialFullView
impl Unpin for Fido2CredentialFullView
impl UnwindSafe for Fido2CredentialFullView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.