pub struct Encrypt {
pub mechanism: Mechanism,
pub key: KeyId,
pub message: Message,
pub associated_data: ShortData,
pub nonce: Option<ShortData>,
}
Available on crate feature
crypto-client
only.Fields§
§mechanism: Mechanism
§key: KeyId
§message: Message
§associated_data: ShortData
§nonce: Option<ShortData>
Trait Implementations§
impl Eq for Encrypt
impl StructuralPartialEq for Encrypt
Auto Trait Implementations§
impl Freeze for Encrypt
impl RefUnwindSafe for Encrypt
impl Send for Encrypt
impl Sync for Encrypt
impl Unpin for Encrypt
impl UnwindSafe for Encrypt
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