pub struct Envelope {
pub key_id: String,
pub wrapped_dek: Vec<u8>,
pub nonce: [u8; 24],
pub ciphertext: Vec<u8>,
}Fields§
§key_id: String§wrapped_dek: Vec<u8>§nonce: [u8; 24]§ciphertext: Vec<u8>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Envelope
impl RefUnwindSafe for Envelope
impl Send for Envelope
impl Sync for Envelope
impl Unpin for Envelope
impl UnsafeUnpin for Envelope
impl UnwindSafe for Envelope
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