pub struct SignatureKeyPair(/* private fields */);
Implementations§
Source§impl SignatureKeyPair
impl SignatureKeyPair
pub fn extract_public_key(&mut self) -> SensitiveBytes
pub fn extract_secret_key(&mut self) -> SensitiveBytes
Trait Implementations§
Source§impl Clone for SignatureKeyPair
impl Clone for SignatureKeyPair
Source§fn clone(&self) -> SignatureKeyPair
fn clone(&self) -> SignatureKeyPair
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 SignatureKeyPair
impl Debug for SignatureKeyPair
Source§impl Deref for SignatureKeyPair
impl Deref for SignatureKeyPair
Source§impl<'de> Deserialize<'de> for SignatureKeyPair
impl<'de> Deserialize<'de> for SignatureKeyPair
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 From<KeyPair> for SignatureKeyPair
impl From<KeyPair> for SignatureKeyPair
Source§impl PartialEq for SignatureKeyPair
impl PartialEq for SignatureKeyPair
Source§impl Serialize for SignatureKeyPair
impl Serialize for SignatureKeyPair
impl Eq for SignatureKeyPair
impl StructuralPartialEq for SignatureKeyPair
Auto Trait Implementations§
impl Freeze for SignatureKeyPair
impl RefUnwindSafe for SignatureKeyPair
impl Send for SignatureKeyPair
impl Sync for SignatureKeyPair
impl Unpin for SignatureKeyPair
impl UnwindSafe for SignatureKeyPair
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