Struct rust_chain::structs::WebAuthNPublicKey
source · [−]pub struct WebAuthNPublicKey {
pub key: ECCPublicKey,
pub user_presence: UserPresence,
pub rpid: String,
}
Expand description
Fields
key: ECCPublicKey
user_presence: UserPresence
rpid: String
Implementations
sourceimpl WebAuthNPublicKey
impl WebAuthNPublicKey
sourcepub fn new(key: ECCPublicKey, user_presence: UserPresence, rpid: String) -> Self
pub fn new(key: ECCPublicKey, user_presence: UserPresence, rpid: String) -> Self
Trait Implementations
sourceimpl Clone for WebAuthNPublicKey
impl Clone for WebAuthNPublicKey
sourcefn clone(&self) -> WebAuthNPublicKey
fn clone(&self) -> WebAuthNPublicKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for WebAuthNPublicKey
impl Default for WebAuthNPublicKey
sourcefn default() -> WebAuthNPublicKey
fn default() -> WebAuthNPublicKey
Returns the “default value” for a type. Read more
sourceimpl Packer for WebAuthNPublicKey
impl Packer for WebAuthNPublicKey
sourceimpl PartialEq<WebAuthNPublicKey> for WebAuthNPublicKey
impl PartialEq<WebAuthNPublicKey> for WebAuthNPublicKey
sourcefn eq(&self, other: &WebAuthNPublicKey) -> bool
fn eq(&self, other: &WebAuthNPublicKey) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WebAuthNPublicKey) -> bool
fn ne(&self, other: &WebAuthNPublicKey) -> bool
This method tests for !=
.
sourceimpl TypeInfo for WebAuthNPublicKey
impl TypeInfo for WebAuthNPublicKey
impl Eq for WebAuthNPublicKey
impl StructuralEq for WebAuthNPublicKey
impl StructuralPartialEq for WebAuthNPublicKey
Auto Trait Implementations
impl RefUnwindSafe for WebAuthNPublicKey
impl Send for WebAuthNPublicKey
impl Sync for WebAuthNPublicKey
impl Unpin for WebAuthNPublicKey
impl UnwindSafe for WebAuthNPublicKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.