pub struct Displayed {
pub stanza_id: StanzaId,
}
Expand description
Mention that a particular message has been displayed by at least one client.
Fields§
§stanza_id: StanzaId
Reference to the message having been displayed.
Trait Implementations§
Source§impl AsXml for Displayed
impl AsXml for Displayed
Source§impl FromXml for Displayed
impl FromXml for Displayed
Source§type Builder = DisplayedFromXmlBuilder
type Builder = DisplayedFromXmlBuilder
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 Displayed
impl TryFrom<Element> for Displayed
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Displayed
Auto Trait Implementations§
impl Freeze for Displayed
impl RefUnwindSafe for Displayed
impl Send for Displayed
impl Sync for Displayed
impl Unpin for Displayed
impl UnwindSafe for Displayed
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