pub struct EcdsaPrivateKey {
pub curve: Curve,
pub key: Vec<u8>,
}Expand description
ECDSA private key.
Fields§
§curve: CurveThe curve being used.
key: Vec<u8>The private key.
Trait Implementations§
Source§impl Clone for EcdsaPrivateKey
impl Clone for EcdsaPrivateKey
Source§fn clone(&self) -> EcdsaPrivateKey
fn clone(&self) -> EcdsaPrivateKey
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 EcdsaPrivateKey
impl Debug for EcdsaPrivateKey
Source§impl PartialEq for EcdsaPrivateKey
impl PartialEq for EcdsaPrivateKey
impl StructuralPartialEq for EcdsaPrivateKey
Auto Trait Implementations§
impl Freeze for EcdsaPrivateKey
impl RefUnwindSafe for EcdsaPrivateKey
impl Send for EcdsaPrivateKey
impl Sync for EcdsaPrivateKey
impl Unpin for EcdsaPrivateKey
impl UnsafeUnpin for EcdsaPrivateKey
impl UnwindSafe for EcdsaPrivateKey
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