pub struct OriginId {
pub id: String,
}Expand description
A hack for MUC before version 1.31 to track a message which may have its ‘id’ attribute changed.
Fields§
§id: StringThe id this client set for this stanza.
Trait Implementations§
Source§impl AsXml for OriginId
impl AsXml for OriginId
Source§type ItemIter<'xso_proc_as_xml_iter_lifetime> = OriginIdAsXmlIterator<'xso_proc_as_xml_iter_lifetime>
where
Self: 'xso_proc_as_xml_iter_lifetime
type ItemIter<'xso_proc_as_xml_iter_lifetime> = OriginIdAsXmlIterator<'xso_proc_as_xml_iter_lifetime> where Self: 'xso_proc_as_xml_iter_lifetime
The iterator type. Read more
Source§impl FromXml for OriginId
impl FromXml for OriginId
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 moreimpl MessagePayload for OriginId
impl StructuralPartialEq for OriginId
Auto Trait Implementations§
impl Freeze for OriginId
impl RefUnwindSafe for OriginId
impl Send for OriginId
impl Sync for OriginId
impl Unpin for OriginId
impl UnsafeUnpin for OriginId
impl UnwindSafe for OriginId
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