Struct ockam_vault::X25519PublicKey
source · pub struct X25519PublicKey(pub [u8; 32]);
Expand description
Tuple Fields§
§0: [u8; 32]
Trait Implementations§
source§impl Clone for X25519PublicKey
impl Clone for X25519PublicKey
source§fn clone(&self) -> X25519PublicKey
fn clone(&self) -> X25519PublicKey
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 X25519PublicKey
impl Debug for X25519PublicKey
source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for X25519PublicKey
impl<'bytes, Ctx> Decode<'bytes, Ctx> for X25519PublicKey
source§impl<Ctx> Encode<Ctx> for X25519PublicKey
impl<Ctx> Encode<Ctx> for X25519PublicKey
source§impl PartialEq for X25519PublicKey
impl PartialEq for X25519PublicKey
source§fn eq(&self, other: &X25519PublicKey) -> bool
fn eq(&self, other: &X25519PublicKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for X25519PublicKey
impl StructuralEq for X25519PublicKey
impl StructuralPartialEq for X25519PublicKey
Auto Trait Implementations§
impl RefUnwindSafe for X25519PublicKey
impl Send for X25519PublicKey
impl Sync for X25519PublicKey
impl Unpin for X25519PublicKey
impl UnwindSafe for X25519PublicKey
Blanket Implementations§
source§impl<D> AsyncTryClone for D
impl<D> AsyncTryClone for D
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.