pub enum SignatureFormat {
Raw,
Base64,
Hex,
Pem,
Der,
}Expand description
Format of the signature data.
Variants§
Raw
Raw binary signature
Base64
Base64-encoded signature
Hex
Hexadecimal-encoded signature
Pem
PEM format
Der
DER format
Implementations§
Trait Implementations§
Source§impl Clone for SignatureFormat
impl Clone for SignatureFormat
Source§fn clone(&self) -> SignatureFormat
fn clone(&self) -> SignatureFormat
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 SignatureFormat
impl Debug for SignatureFormat
Source§impl<'de> Deserialize<'de> for SignatureFormat
impl<'de> Deserialize<'de> for SignatureFormat
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 SignatureFormat
impl PartialEq for SignatureFormat
Source§impl Serialize for SignatureFormat
impl Serialize for SignatureFormat
impl Copy for SignatureFormat
impl Eq for SignatureFormat
impl StructuralPartialEq for SignatureFormat
Auto Trait Implementations§
impl Freeze for SignatureFormat
impl RefUnwindSafe for SignatureFormat
impl Send for SignatureFormat
impl Sync for SignatureFormat
impl Unpin for SignatureFormat
impl UnsafeUnpin for SignatureFormat
impl UnwindSafe for SignatureFormat
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