pub struct Payload {
pub data: Vec<u8>,
}
Expand description
The encrypted message body
Fields§
§data: Vec<u8>
Encrypted with AES-128 in Galois/Counter Mode (GCM)
Trait Implementations§
Source§impl TryFrom<Element> for Payload
impl TryFrom<Element> for Payload
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Payload
Auto Trait Implementations§
impl Freeze for Payload
impl RefUnwindSafe for Payload
impl Send for Payload
impl Sync for Payload
impl Unpin for Payload
impl UnwindSafe for Payload
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