pub struct Encrypt {
pub mechanism: Mechanism,
pub key: KeyId,
pub message: Message,
pub associated_data: ShortData,
pub nonce: Option<ShortData>,
}
Fields
mechanism: Mechanism
key: KeyId
message: Message
associated_data: ShortData
nonce: Option<ShortData>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Encrypt
impl<'de> Deserialize<'de> for Encrypt
sourcefn 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
impl Eq for Encrypt
impl StructuralEq for Encrypt
impl StructuralPartialEq for Encrypt
Auto Trait Implementations
impl RefUnwindSafe for Encrypt
impl Send for Encrypt
impl Sync for Encrypt
impl Unpin for Encrypt
impl UnwindSafe for Encrypt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more