pub enum KeyMaterialFormat {
JWK(JWK),
Multibase {
private_key_multibase: String,
},
Base58 {
private_key_base58: String,
},
}Expand description
Serialization format for key material
Variants§
Trait Implementations§
Source§impl Clone for KeyMaterialFormat
impl Clone for KeyMaterialFormat
Source§fn clone(&self) -> KeyMaterialFormat
fn clone(&self) -> KeyMaterialFormat
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 Debug for KeyMaterialFormat
impl Debug for KeyMaterialFormat
Source§impl<'de> Deserialize<'de> for KeyMaterialFormat
impl<'de> Deserialize<'de> for KeyMaterialFormat
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 Serialize for KeyMaterialFormat
impl Serialize for KeyMaterialFormat
Auto Trait Implementations§
impl Freeze for KeyMaterialFormat
impl RefUnwindSafe for KeyMaterialFormat
impl Send for KeyMaterialFormat
impl Sync for KeyMaterialFormat
impl Unpin for KeyMaterialFormat
impl UnsafeUnpin for KeyMaterialFormat
impl UnwindSafe for KeyMaterialFormat
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