pub struct RsaKeyPair {
pub private_key: RsaPrivateKey,
pub public_key: RsaPublicKey,
pub hash_algorithm: HashAlgorithm,
}
Fields§
§private_key: RsaPrivateKey
§public_key: RsaPublicKey
§hash_algorithm: HashAlgorithm
Trait Implementations§
Source§impl Clone for RsaKeyPair
impl Clone for RsaKeyPair
Source§fn clone(&self) -> RsaKeyPair
fn clone(&self) -> RsaKeyPair
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 RsaKeyPair
impl RefUnwindSafe for RsaKeyPair
impl Send for RsaKeyPair
impl Sync for RsaKeyPair
impl Unpin for RsaKeyPair
impl UnwindSafe for RsaKeyPair
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