Struct ssh_key::public::Ed25519PublicKey
source · [−]Expand description
Ed25519 public key.
Tuple Fields
0: [u8; 32]Implementations
Trait Implementations
sourceimpl Clone for Ed25519PublicKey
impl Clone for Ed25519PublicKey
sourcefn clone(&self) -> Ed25519PublicKey
fn clone(&self) -> Ed25519PublicKey
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 Debug for Ed25519PublicKey
impl Debug for Ed25519PublicKey
sourceimpl Display for Ed25519PublicKey
impl Display for Ed25519PublicKey
sourceimpl From<&'_ Ed25519Keypair> for Ed25519PublicKey
impl From<&'_ Ed25519Keypair> for Ed25519PublicKey
sourcefn from(keypair: &Ed25519Keypair) -> Ed25519PublicKey
fn from(keypair: &Ed25519Keypair) -> Ed25519PublicKey
Performs the conversion.
sourceimpl From<Ed25519Keypair> for Ed25519PublicKey
impl From<Ed25519Keypair> for Ed25519PublicKey
sourcefn from(keypair: Ed25519Keypair) -> Ed25519PublicKey
fn from(keypair: Ed25519Keypair) -> Ed25519PublicKey
Performs the conversion.
sourceimpl Hash for Ed25519PublicKey
impl Hash for Ed25519PublicKey
sourceimpl LowerHex for Ed25519PublicKey
impl LowerHex for Ed25519PublicKey
sourceimpl Ord for Ed25519PublicKey
impl Ord for Ed25519PublicKey
sourceimpl PartialEq<Ed25519PublicKey> for Ed25519PublicKey
impl PartialEq<Ed25519PublicKey> for Ed25519PublicKey
sourcefn eq(&self, other: &Ed25519PublicKey) -> bool
fn eq(&self, other: &Ed25519PublicKey) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &Ed25519PublicKey) -> bool
fn ne(&self, other: &Ed25519PublicKey) -> bool
This method tests for !=.
sourceimpl PartialOrd<Ed25519PublicKey> for Ed25519PublicKey
impl PartialOrd<Ed25519PublicKey> for Ed25519PublicKey
sourcefn partial_cmp(&self, other: &Ed25519PublicKey) -> Option<Ordering>
fn partial_cmp(&self, other: &Ed25519PublicKey) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl UpperHex for Ed25519PublicKey
impl UpperHex for Ed25519PublicKey
impl Copy for Ed25519PublicKey
impl Eq for Ed25519PublicKey
impl StructuralEq for Ed25519PublicKey
impl StructuralPartialEq for Ed25519PublicKey
Auto Trait Implementations
impl RefUnwindSafe for Ed25519PublicKey
impl Send for Ed25519PublicKey
impl Sync for Ed25519PublicKey
impl Unpin for Ed25519PublicKey
impl UnwindSafe for Ed25519PublicKey
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<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more