pub struct ProtectedPayload {
pub nonce: String,
pub ciphertext: String,
pub wrapped_content_keys: Vec<WrappedContentKey>,
pub payload_hash: String,
pub signature_kid: String,
pub signature: String,
}Fields§
§nonce: String§ciphertext: String§wrapped_content_keys: Vec<WrappedContentKey>§payload_hash: String§signature_kid: String§signature: StringImplementations§
Source§impl ProtectedPayload
impl ProtectedPayload
pub fn to_signable_value(&self) -> Value
Trait Implementations§
Source§impl Clone for ProtectedPayload
impl Clone for ProtectedPayload
Source§fn clone(&self) -> ProtectedPayload
fn clone(&self) -> ProtectedPayload
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 ProtectedPayload
impl Debug for ProtectedPayload
Source§impl<'de> Deserialize<'de> for ProtectedPayload
impl<'de> Deserialize<'de> for ProtectedPayload
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 ProtectedPayload
impl PartialEq for ProtectedPayload
Source§impl Serialize for ProtectedPayload
impl Serialize for ProtectedPayload
impl Eq for ProtectedPayload
impl StructuralPartialEq for ProtectedPayload
Auto Trait Implementations§
impl Freeze for ProtectedPayload
impl RefUnwindSafe for ProtectedPayload
impl Send for ProtectedPayload
impl Sync for ProtectedPayload
impl Unpin for ProtectedPayload
impl UnsafeUnpin for ProtectedPayload
impl UnwindSafe for ProtectedPayload
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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