Struct xmpp_parsers::legacy_omemo::Payload
source · pub struct Payload {
pub data: <Base64 as Codec>::Decoded,
}
Expand description
The encrypted message body
Fields§
§data: <Base64 as Codec>::Decoded
Encrypted with AES-128 in Galois/Counter Mode (GCM)
Trait Implementations§
source§impl FromXml for Payload
impl FromXml for Payload
§type Builder = FromEventsViaElement<Payload>
type Builder = FromEventsViaElement<Payload>
A builder type used to construct the element. Read more
source§fn from_events(
qname: QName,
attrs: AttrMap,
) -> Result<Self::Builder, FromEventsError>
fn from_events( qname: QName, attrs: AttrMap, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
source§impl IntoXml for Payload
impl IntoXml for Payload
§type EventIter = IntoEventsViaElement
type EventIter = IntoEventsViaElement
The iterator type.
source§fn into_event_iter(self) -> Result<Self::EventIter, Error>
fn into_event_iter(self) -> Result<Self::EventIter, Error>
Return an iterator which emits the contents of the struct or enum as
serialisable
rxml::Event
items.source§impl PartialEq for Payload
impl PartialEq for Payload
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