Enum dco3_crypto::UserKeyPairVersion
source · pub enum UserKeyPairVersion {
RSA2048,
RSA4096,
}
Expand description
Represents the user keypair version Standard is 4096 bit (2048 bit for compatibility only)
Variants§
Trait Implementations§
source§impl Clone for UserKeyPairVersion
impl Clone for UserKeyPairVersion
source§fn clone(&self) -> UserKeyPairVersion
fn clone(&self) -> UserKeyPairVersion
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 UserKeyPairVersion
impl Debug for UserKeyPairVersion
source§impl<'de> Deserialize<'de> for UserKeyPairVersion
impl<'de> Deserialize<'de> for UserKeyPairVersion
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 PartialEq for UserKeyPairVersion
impl PartialEq for UserKeyPairVersion
source§fn eq(&self, other: &UserKeyPairVersion) -> bool
fn eq(&self, other: &UserKeyPairVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserKeyPairVersion
impl Serialize for UserKeyPairVersion
impl Eq for UserKeyPairVersion
impl StructuralPartialEq for UserKeyPairVersion
Auto Trait Implementations§
impl Freeze for UserKeyPairVersion
impl RefUnwindSafe for UserKeyPairVersion
impl Send for UserKeyPairVersion
impl Sync for UserKeyPairVersion
impl Unpin for UserKeyPairVersion
impl UnwindSafe for UserKeyPairVersion
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