Enum xmpp_parsers::chatstates::ChatState
source · pub enum ChatState {
Active,
Composing,
Gone,
Inactive,
Paused,
}
Expand description
Enum representing chatstate elements part of the
http://jabber.org/protocol/chatstates
namespace.
Variants§
Active
<active xmlns='http://jabber.org/protocol/chatstates'/>
Composing
<composing xmlns='http://jabber.org/protocol/chatstates'/>
Gone
<gone xmlns='http://jabber.org/protocol/chatstates'/>
Inactive
<inactive xmlns='http://jabber.org/protocol/chatstates'/>
Paused
<paused xmlns='http://jabber.org/protocol/chatstates'/>
Trait Implementations§
source§impl PartialEq for ChatState
impl PartialEq for ChatState
impl MessagePayload for ChatState
impl StructuralPartialEq for ChatState
Auto Trait Implementations§
impl RefUnwindSafe for ChatState
impl Send for ChatState
impl Sync for ChatState
impl Unpin for ChatState
impl UnwindSafe for ChatState
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