pub struct PasskeyPublicKey(/* private fields */);
Implementations§
source§impl PasskeyPublicKey
impl PasskeyPublicKey
pub fn to_address(&self) -> Address
Available on crate feature
hash
only.source§impl PasskeyPublicKey
impl PasskeyPublicKey
pub fn inner(&self) -> &Secp256r1PublicKey
source§impl PasskeyPublicKey
impl PasskeyPublicKey
pub fn scheme(&self) -> SignatureScheme
Trait Implementations§
source§impl Clone for PasskeyPublicKey
impl Clone for PasskeyPublicKey
source§fn clone(&self) -> PasskeyPublicKey
fn clone(&self) -> PasskeyPublicKey
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 PasskeyPublicKey
impl Debug for PasskeyPublicKey
source§impl PartialEq for PasskeyPublicKey
impl PartialEq for PasskeyPublicKey
impl Eq for PasskeyPublicKey
impl StructuralPartialEq for PasskeyPublicKey
Auto Trait Implementations§
impl Freeze for PasskeyPublicKey
impl RefUnwindSafe for PasskeyPublicKey
impl Send for PasskeyPublicKey
impl Sync for PasskeyPublicKey
impl Unpin for PasskeyPublicKey
impl UnwindSafe for PasskeyPublicKey
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moresource§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
)