pub struct PublicKeyCredentialParameters {
pub alg: i32,
pub key_type: String<32>,
}Fields§
§alg: i32§key_type: String<32>Implementations§
source§impl PublicKeyCredentialParameters
impl PublicKeyCredentialParameters
pub fn public_key_with_alg(alg: i32) -> Self
Trait Implementations§
source§impl Clone for PublicKeyCredentialParameters
impl Clone for PublicKeyCredentialParameters
source§fn clone(&self) -> PublicKeyCredentialParameters
fn clone(&self) -> PublicKeyCredentialParameters
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<'de> Deserialize<'de> for PublicKeyCredentialParameters
impl<'de> Deserialize<'de> for PublicKeyCredentialParameters
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<KnownPublicKeyCredentialParameters> for PublicKeyCredentialParameters
impl From<KnownPublicKeyCredentialParameters> for PublicKeyCredentialParameters
source§fn from(value: KnownPublicKeyCredentialParameters) -> Self
fn from(value: KnownPublicKeyCredentialParameters) -> Self
Converts to this type from the input type.
source§impl PartialEq for PublicKeyCredentialParameters
impl PartialEq for PublicKeyCredentialParameters
source§fn eq(&self, other: &PublicKeyCredentialParameters) -> bool
fn eq(&self, other: &PublicKeyCredentialParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.source§impl TryFrom<PublicKeyCredentialParameters> for KnownPublicKeyCredentialParameters
impl TryFrom<PublicKeyCredentialParameters> for KnownPublicKeyCredentialParameters
source§type Error = UnknownPKCredentialParam
type Error = UnknownPKCredentialParam
The type returned in the event of a conversion error.
impl Eq for PublicKeyCredentialParameters
impl StructuralPartialEq for PublicKeyCredentialParameters
Auto Trait Implementations§
impl Freeze for PublicKeyCredentialParameters
impl RefUnwindSafe for PublicKeyCredentialParameters
impl Send for PublicKeyCredentialParameters
impl Sync for PublicKeyCredentialParameters
impl Unpin for PublicKeyCredentialParameters
impl UnwindSafe for PublicKeyCredentialParameters
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)