pub struct Forwarded {
pub delay: Option<Delay>,
pub message: Message,
}
Expand description
Contains a forwarded stanza, either standalone or part of another extension (such as carbons).
Fields§
§delay: Option<Delay>
When the stanza originally got sent.
message: Message
The stanza being forwarded.
Trait Implementations§
Source§impl AsXml for Forwarded
impl AsXml for Forwarded
Source§impl FromXml for Forwarded
impl FromXml for Forwarded
Source§type Builder = ForwardedFromXmlBuilder
type Builder = ForwardedFromXmlBuilder
A builder type used to construct the element. Read more
Source§fn from_events(
name: QName,
attrs: AttrMap,
ctx: &Context<'_>,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ctx: &Context<'_>, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
Source§fn xml_name_matcher() -> XmlNameMatcher<'static>
fn xml_name_matcher() -> XmlNameMatcher<'static>
Return a predicate which determines if
Self
may be parsed from
a given XML element. Read moreSource§impl TryFrom<Element> for Forwarded
impl TryFrom<Element> for Forwarded
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Forwarded
Auto Trait Implementations§
impl Freeze for Forwarded
impl RefUnwindSafe for Forwarded
impl Send for Forwarded
impl Sync for Forwarded
impl Unpin for Forwarded
impl UnwindSafe for Forwarded
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