Struct rust_chain::structs::WebAuthNPublicKey
source · [−]pub struct WebAuthNPublicKey {
pub key: ECCPublicKey,
pub user_presence: UserPresence,
pub rpid: String,
}Expand description
Fields
key: ECCPublicKeyuser_presence: UserPresencerpid: StringImplementations
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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl 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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
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.