pub struct PublicNodeIdentity { /* private fields */ }Expand description
Public node identity information (without secret keys) - safe to clone
Implementations§
Source§impl PublicNodeIdentity
impl PublicNodeIdentity
Sourcepub fn public_key(&self) -> &MlDsaPublicKey
pub fn public_key(&self) -> &MlDsaPublicKey
Get public key
Trait Implementations§
Source§impl Clone for PublicNodeIdentity
impl Clone for PublicNodeIdentity
Source§fn clone(&self) -> PublicNodeIdentity
fn clone(&self) -> PublicNodeIdentity
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PublicNodeIdentity
impl RefUnwindSafe for PublicNodeIdentity
impl Send for PublicNodeIdentity
impl Sync for PublicNodeIdentity
impl Unpin for PublicNodeIdentity
impl UnwindSafe for PublicNodeIdentity
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