pub struct Ed25519Signature(pub [u8; 64]);Expand description
Cryptographic and Timestamp data types
A representation of a 64 byte Ed25519 signature with
default constant time equality checks, hex fmt::Debug and hex fmt::Display,
and an implementation for Borsh encoding that ensure
no two binary representations that deserialize into the same object
and a possibly smaller code size compared to serde binary representations.
Tuple Fields§
§0: [u8; 64]Trait Implementations§
Source§impl BorshDeserialize for Ed25519Signature
impl BorshDeserialize for Ed25519Signature
Source§impl BorshSerialize for Ed25519Signature
impl BorshSerialize for Ed25519Signature
Source§impl Clone for Ed25519Signature
impl Clone for Ed25519Signature
Source§fn clone(&self) -> Ed25519Signature
fn clone(&self) -> Ed25519Signature
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 moreSource§impl Default for Ed25519Signature
impl Default for Ed25519Signature
Source§impl Hash for Ed25519Signature
impl Hash for Ed25519Signature
Source§impl Ord for Ed25519Signature
impl Ord for Ed25519Signature
Source§fn cmp(&self, other: &Ed25519Signature) -> Ordering
fn cmp(&self, other: &Ed25519Signature) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Ed25519Signature
impl PartialEq for Ed25519Signature
Source§impl PartialOrd for Ed25519Signature
impl PartialOrd for Ed25519Signature
impl Copy for Ed25519Signature
impl Eq for Ed25519Signature
Auto Trait Implementations§
impl Freeze for Ed25519Signature
impl RefUnwindSafe for Ed25519Signature
impl Send for Ed25519Signature
impl Sync for Ed25519Signature
impl Unpin for Ed25519Signature
impl UnwindSafe for Ed25519Signature
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