pub struct DidKeyPair {
pub secret: SecretKey,
pub public: DidKey,
}
Fields§
§secret: SecretKey
§public: DidKey
Implementations§
Trait Implementations§
source§impl Clone for DidKeyPair
impl Clone for DidKeyPair
source§fn clone(&self) -> DidKeyPair
fn clone(&self) -> DidKeyPair
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 DidKeyPair
impl Debug for DidKeyPair
source§impl<'de> Deserialize<'de> for DidKeyPair
impl<'de> Deserialize<'de> for DidKeyPair
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 PartialEq for DidKeyPair
impl PartialEq for DidKeyPair
source§impl Serialize for DidKeyPair
impl Serialize for DidKeyPair
impl StructuralPartialEq for DidKeyPair
Auto Trait Implementations§
impl Freeze for DidKeyPair
impl RefUnwindSafe for DidKeyPair
impl Send for DidKeyPair
impl Sync for DidKeyPair
impl Unpin for DidKeyPair
impl UnwindSafe for DidKeyPair
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)