pub struct PrivKeyComp { /* private fields */ }
Expand description
private key version of PubKeyComp
Implementations§
Trait Implementations§
Source§impl Clone for PrivKeyComp
impl Clone for PrivKeyComp
Source§fn clone(&self) -> PrivKeyComp
fn clone(&self) -> PrivKeyComp
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 PrivKeyComp
impl Debug for PrivKeyComp
Source§impl<'de> Deserialize<'de> for PrivKeyComp
impl<'de> Deserialize<'de> for PrivKeyComp
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<&PrivKeyComp> for PubKeyComp
impl From<&PrivKeyComp> for PubKeyComp
Source§fn from(priv_key: &PrivKeyComp) -> Self
fn from(priv_key: &PrivKeyComp) -> Self
Converts to this type from the input type.
Source§impl From<&PrivKeyComp> for RSAPrivateKey
impl From<&PrivKeyComp> for RSAPrivateKey
Source§fn from(comp: &PrivKeyComp) -> RSAPrivateKey
fn from(comp: &PrivKeyComp) -> RSAPrivateKey
Converts to this type from the input type.
Source§impl From<&RSAPrivateKey> for PrivKeyComp
impl From<&RSAPrivateKey> for PrivKeyComp
Source§fn from(key: &RSAPrivateKey) -> Self
fn from(key: &RSAPrivateKey) -> Self
Converts to this type from the input type.
Source§impl Ord for PrivKeyComp
impl Ord for PrivKeyComp
Source§fn cmp(&self, other: &PrivKeyComp) -> Ordering
fn cmp(&self, other: &PrivKeyComp) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PrivKeyComp
impl PartialEq for PrivKeyComp
Source§impl PartialOrd for PrivKeyComp
impl PartialOrd for PrivKeyComp
Source§impl Serialize for PrivKeyComp
impl Serialize for PrivKeyComp
impl Eq for PrivKeyComp
impl StructuralPartialEq for PrivKeyComp
Auto Trait Implementations§
impl Freeze for PrivKeyComp
impl RefUnwindSafe for PrivKeyComp
impl Send for PrivKeyComp
impl Sync for PrivKeyComp
impl Unpin for PrivKeyComp
impl UnwindSafe for PrivKeyComp
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