Struct xmpp_parsers::carbons::Received
source · pub struct Received {
pub forwarded: Forwarded,
}
Expand description
Wrapper for a message received on another resource.
Fields§
§forwarded: Forwarded
Wrapper for the enclosed message.
Trait Implementations§
source§impl FromXml for Received
impl FromXml for Received
§type Builder = FromEventsViaElement<Received>
type Builder = FromEventsViaElement<Received>
A builder type used to construct the element.
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 Received
impl IntoXml for Received
§type EventIter = IntoEventsViaElement<Received>
type EventIter = IntoEventsViaElement<Received>
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 Received
impl PartialEq for Received
impl MessagePayload for Received
impl StructuralPartialEq for Received
Auto Trait Implementations§
impl Freeze for Received
impl RefUnwindSafe for Received
impl Send for Received
impl Sync for Received
impl Unpin for Received
impl UnwindSafe for Received
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