pub enum PublicKeyFormat {
Pem,
Der,
Raw,
Jwk,
Ssh,
}Expand description
Public key format.
Variants§
Pem
PEM format
Der
DER format
Raw
Raw key bytes
Jwk
JWK (JSON Web Key) format
Ssh
SSH public key format
Implementations§
Trait Implementations§
Source§impl Clone for PublicKeyFormat
impl Clone for PublicKeyFormat
Source§fn clone(&self) -> PublicKeyFormat
fn clone(&self) -> PublicKeyFormat
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 PublicKeyFormat
impl Debug for PublicKeyFormat
Source§impl<'de> Deserialize<'de> for PublicKeyFormat
impl<'de> Deserialize<'de> for PublicKeyFormat
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 PublicKeyFormat
impl PartialEq for PublicKeyFormat
Source§impl Serialize for PublicKeyFormat
impl Serialize for PublicKeyFormat
impl Copy for PublicKeyFormat
impl Eq for PublicKeyFormat
impl StructuralPartialEq for PublicKeyFormat
Auto Trait Implementations§
impl Freeze for PublicKeyFormat
impl RefUnwindSafe for PublicKeyFormat
impl Send for PublicKeyFormat
impl Sync for PublicKeyFormat
impl Unpin for PublicKeyFormat
impl UnsafeUnpin for PublicKeyFormat
impl UnwindSafe for PublicKeyFormat
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