pub struct Encrypted<KMA: KMA, H = ()> { /* private fields */ }
Expand description
A Rust representation of an encrypted JWE.
Can be parsed from a string in it’s compact representation
Implementations§
Trait Implementations§
Source§impl<'de, KMA: KMA, H: DeserializeOwned> Deserialize<'de> for Encrypted<KMA, H>
impl<'de, KMA: KMA, H: DeserializeOwned> Deserialize<'de> for Encrypted<KMA, H>
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<KMA, H> FromCompactPart for Encrypted<KMA, H>where
KMA: KMA,
H: DeserializeOwned,
impl<KMA, H> FromCompactPart for Encrypted<KMA, H>where
KMA: KMA,
H: DeserializeOwned,
Source§impl<KMA, H> ToCompactPart for Encrypted<KMA, H>where
KMA: KMA,
impl<KMA, H> ToCompactPart for Encrypted<KMA, H>where
KMA: KMA,
impl<KMA: Eq + KMA, H: Eq> Eq for Encrypted<KMA, H>
impl<KMA: KMA, H> StructuralPartialEq for Encrypted<KMA, H>
Auto Trait Implementations§
impl<KMA, H> Freeze for Encrypted<KMA, H>
impl<KMA, H> RefUnwindSafe for Encrypted<KMA, H>
impl<KMA, H> Send for Encrypted<KMA, H>
impl<KMA, H> Sync for Encrypted<KMA, H>
impl<KMA, H> Unpin for Encrypted<KMA, H>
impl<KMA, H> UnwindSafe for Encrypted<KMA, H>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.