pub enum SignatureSchema {
BtcEcdsa = 1_000,
EvmEcdsa = 1_001,
TronEcdsa = 1_002,
TonEddsaOpenMask = 2_000,
SolanaEddsa = 2_010,
IcpEddsa = 2_020,
BtcSchnorr = 3_000,
KaspaSchnorr = 3_010,
}Expand description
Signature schema
Note: u8 is enough for the signature schema
Variants§
BtcEcdsa = 1_000
EvmEcdsa = 1_001
TronEcdsa = 1_002
TonEddsaOpenMask = 2_000
SolanaEddsa = 2_010
IcpEddsa = 2_020
BtcSchnorr = 3_000
KaspaSchnorr = 3_010
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 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§impl PartialOrd for SignatureSchema
impl PartialOrd for SignatureSchema
Source§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