pub struct AllowCredential {
pub id: String,
pub type_: String,
pub transports: Option<Vec<String>>,
}Expand description
Credential allowed for authentication.
Fields§
§id: StringBase64url-encoded credential ID.
type_: StringCredential type.
transports: Option<Vec<String>>Optional transports hint.
Trait Implementations§
Source§impl Clone for AllowCredential
impl Clone for AllowCredential
Source§fn clone(&self) -> AllowCredential
fn clone(&self) -> AllowCredential
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 AllowCredential
impl Debug for AllowCredential
Source§impl<'de> Deserialize<'de> for AllowCredential
Available on crate feature serde only.
impl<'de> Deserialize<'de> for AllowCredential
Available on crate feature
serde only.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
Auto Trait Implementations§
impl Freeze for AllowCredential
impl RefUnwindSafe for AllowCredential
impl Send for AllowCredential
impl Sync for AllowCredential
impl Unpin for AllowCredential
impl UnsafeUnpin for AllowCredential
impl UnwindSafe for AllowCredential
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> 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