pub struct EncryptedPayload {
pub payload: Bytes,
pub iv: [u8; 12],
pub key_index: u8,
}Expand description
Encrypted payload and metadata required for decryption.
Fields§
§payload: Bytes§iv: [u8; 12]§key_index: u8Auto Trait Implementations§
impl !Freeze for EncryptedPayload
impl RefUnwindSafe for EncryptedPayload
impl Send for EncryptedPayload
impl Sync for EncryptedPayload
impl Unpin for EncryptedPayload
impl UnsafeUnpin for EncryptedPayload
impl UnwindSafe for EncryptedPayload
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