Enum biscuit::jwe::CompressionAlgorithm
[−]
[src]
pub enum CompressionAlgorithm { Deflate, Other(String), }
Compression algorithm applied to plaintext before encryption.
Variants
Deflate
DEFLATE algorithm defined in RFC 1951
Other(String)
Other user-defined algorithm
Trait Implementations
impl Debug for CompressionAlgorithm
[src]
impl Eq for CompressionAlgorithm
[src]
impl PartialEq for CompressionAlgorithm
[src]
fn eq(&self, __arg_0: &CompressionAlgorithm) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CompressionAlgorithm) -> bool
This method tests for !=
.
impl Clone for CompressionAlgorithm
[src]
fn clone(&self) -> CompressionAlgorithm
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Serialize for CompressionAlgorithm
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for CompressionAlgorithm
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more