Struct webauthn_authenticator_rs::ctap2::commands::TemplateInfo
source · pub struct TemplateInfo {
pub id: Vec<u8>,
pub friendly_name: Option<String>,
}Available on crate features
ctap2-management and ctap2 only.Expand description
Metadata about a stored fingerprint.
Fields§
§id: Vec<u8>The template_id of the fingerprint.
friendly_name: Option<String>A human-readable name for the fingerprint.
Trait Implementations§
source§impl Clone for TemplateInfo
impl Clone for TemplateInfo
source§fn clone(&self) -> TemplateInfo
fn clone(&self) -> TemplateInfo
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 Debug for TemplateInfo
impl Debug for TemplateInfo
source§impl Default for TemplateInfo
impl Default for TemplateInfo
source§fn default() -> TemplateInfo
fn default() -> TemplateInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TemplateInfo
impl<'de> Deserialize<'de> for TemplateInfo
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<TemplateInfo> for BTreeMap<Value, Value>
impl From<TemplateInfo> for BTreeMap<Value, Value>
source§fn from(value: TemplateInfo) -> Self
fn from(value: TemplateInfo) -> Self
Converts to this type from the input type.
source§impl PartialEq for TemplateInfo
impl PartialEq for TemplateInfo
source§fn eq(&self, other: &TemplateInfo) -> bool
fn eq(&self, other: &TemplateInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for TemplateInfo
impl StructuralEq for TemplateInfo
impl StructuralPartialEq for TemplateInfo
Auto Trait Implementations§
impl RefUnwindSafe for TemplateInfo
impl Send for TemplateInfo
impl Sync for TemplateInfo
impl Unpin for TemplateInfo
impl UnwindSafe for TemplateInfo
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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