#[repr(transparent)]pub struct SignatureEd25519(pub [u8; 64]);
Expand description
Signature for a Ed25519 message. Must be 64 bytes long.
Tuple Fields§
§0: [u8; 64]
Trait Implementations§
source§impl Clone for SignatureEd25519
impl Clone for SignatureEd25519
source§fn clone(&self) -> SignatureEd25519
fn clone(&self) -> SignatureEd25519
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 SignatureEd25519
impl Debug for SignatureEd25519
source§impl Deserial for SignatureEd25519
impl Deserial for SignatureEd25519
source§impl<'de> Deserialize<'de> for SignatureEd25519
impl<'de> Deserialize<'de> for SignatureEd25519
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for SignatureEd25519
impl Display for SignatureEd25519
source§impl From<SignatureEd25519> for String
impl From<SignatureEd25519> for String
source§fn from(sig: SignatureEd25519) -> String
fn from(sig: SignatureEd25519) -> String
Converts to this type from the input type.
source§impl FromStr for SignatureEd25519
impl FromStr for SignatureEd25519
source§impl Ord for SignatureEd25519
impl Ord for SignatureEd25519
source§fn cmp(&self, other: &SignatureEd25519) -> Ordering
fn cmp(&self, other: &SignatureEd25519) -> 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 SignatureEd25519
impl PartialEq for SignatureEd25519
source§fn eq(&self, other: &SignatureEd25519) -> bool
fn eq(&self, other: &SignatureEd25519) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SignatureEd25519
impl PartialOrd for SignatureEd25519
source§fn partial_cmp(&self, other: &SignatureEd25519) -> Option<Ordering>
fn partial_cmp(&self, other: &SignatureEd25519) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl SchemaType for SignatureEd25519
impl SchemaType for SignatureEd25519
source§impl Serial for SignatureEd25519
impl Serial for SignatureEd25519
source§impl Serialize for SignatureEd25519
impl Serialize for SignatureEd25519
source§impl TryFrom<String> for SignatureEd25519
impl TryFrom<String> for SignatureEd25519
§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
impl Copy for SignatureEd25519
impl Eq for SignatureEd25519
impl StructuralPartialEq for SignatureEd25519
Auto Trait Implementations§
impl Freeze for SignatureEd25519
impl RefUnwindSafe for SignatureEd25519
impl Send for SignatureEd25519
impl Sync for SignatureEd25519
impl Unpin for SignatureEd25519
impl UnwindSafe for SignatureEd25519
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