Enum ex3_node_types::chain::KeyFormat
source · pub enum KeyFormat {
EcdsaSecp256k1 = 0,
Ed25519 = 1,
}Variants§
Trait Implementations§
source§impl CandidType for KeyFormat
impl CandidType for KeyFormat
source§impl<'de> Deserialize<'de> for KeyFormat
impl<'de> Deserialize<'de> for KeyFormat
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 Ord for KeyFormat
impl Ord for KeyFormat
source§impl PartialEq for KeyFormat
impl PartialEq for KeyFormat
source§impl PartialOrd for KeyFormat
impl PartialOrd for KeyFormat
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 moreimpl Eq for KeyFormat
impl StructuralEq for KeyFormat
impl StructuralPartialEq for KeyFormat
Auto Trait Implementations§
impl RefUnwindSafe for KeyFormat
impl Send for KeyFormat
impl Sync for KeyFormat
impl Unpin for KeyFormat
impl UnwindSafe for KeyFormat
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