Enum xmpp_parsers::muc::user::Actor
source · pub enum Actor {
Jid(FullJid),
Nick(String),
}
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)
Variants§
Trait Implementations§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)