pub struct Sm2PrivateKey {
pub d: BigUint,
pub compress_modle: CompressModle,
pub public_key: Sm2PublicKey,
}Fields§
§d: BigUint§compress_modle: CompressModle§public_key: Sm2PublicKeyImplementations§
Trait Implementations§
Source§impl Clone for Sm2PrivateKey
impl Clone for Sm2PrivateKey
Source§fn clone(&self) -> Sm2PrivateKey
fn clone(&self) -> Sm2PrivateKey
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 moreAuto Trait Implementations§
impl Freeze for Sm2PrivateKey
impl RefUnwindSafe for Sm2PrivateKey
impl Send for Sm2PrivateKey
impl Sync for Sm2PrivateKey
impl Unpin for Sm2PrivateKey
impl UnwindSafe for Sm2PrivateKey
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