pub enum SignatureSchema {
ECDSA = 10,
EDDSA = 20,
}Expand description
Signature schema
Note: u8 is enough for the signature schema
Variants§
Implementations§
Trait Implementations§
source§impl Clone for SignatureSchema
impl Clone for SignatureSchema
source§fn clone(&self) -> SignatureSchema
fn clone(&self) -> SignatureSchema
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 SignatureSchema
impl Debug for SignatureSchema
source§impl<'de> Deserialize<'de> for SignatureSchema
impl<'de> Deserialize<'de> for SignatureSchema
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 SignatureSchema
impl Display for SignatureSchema
source§impl From<BigUint> for SignatureSchema
impl From<BigUint> for SignatureSchema
source§impl From<u128> for SignatureSchema
impl From<u128> for SignatureSchema
source§impl From<u16> for SignatureSchema
impl From<u16> for SignatureSchema
source§impl From<u32> for SignatureSchema
impl From<u32> for SignatureSchema
source§impl From<u64> for SignatureSchema
impl From<u64> for SignatureSchema
source§impl From<u8> for SignatureSchema
impl From<u8> for SignatureSchema
source§impl Hash for SignatureSchema
impl Hash for SignatureSchema
source§impl Ord for SignatureSchema
impl Ord for SignatureSchema
source§fn cmp(&self, other: &SignatureSchema) -> Ordering
fn cmp(&self, other: &SignatureSchema) -> 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 SignatureSchema
impl PartialEq for SignatureSchema
source§fn eq(&self, other: &SignatureSchema) -> bool
fn eq(&self, other: &SignatureSchema) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for SignatureSchema
impl PartialOrd for SignatureSchema
source§fn partial_cmp(&self, other: &SignatureSchema) -> Option<Ordering>
fn partial_cmp(&self, other: &SignatureSchema) -> 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 Serialize for SignatureSchema
impl Serialize for SignatureSchema
impl Copy for SignatureSchema
impl Eq for SignatureSchema
impl StructuralPartialEq for SignatureSchema
Auto Trait Implementations§
impl Freeze for SignatureSchema
impl RefUnwindSafe for SignatureSchema
impl Send for SignatureSchema
impl Sync for SignatureSchema
impl Unpin for SignatureSchema
impl UnwindSafe for SignatureSchema
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