pub struct Actor { /* private fields */ }
Expand description
Optional <actor/> element used in <item/> elements inside presence stanzas of type “unavailable” that are sent to users who are kick or banned, as well as within IQs for tracking purposes. – CHANGELOG 0.17 (2002-10-23)
Possesses a ‘jid’ and a ‘nick’ attribute, so that an action can be attributed either to a real JID or to a roomnick. – CHANGELOG 1.25 (2012-02-08)
Trait Implementations§
Source§impl AsXml for Actor
impl AsXml for Actor
Source§impl FromXml for Actor
impl FromXml for Actor
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 Actor
impl TryFrom<Element> for Actor
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Actor
Auto Trait Implementations§
impl Freeze for Actor
impl RefUnwindSafe for Actor
impl Send for Actor
impl Sync for Actor
impl Unpin for Actor
impl UnwindSafe for Actor
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