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
source§impl TryFrom<Element> for ChatState
impl TryFrom<Element> for ChatState
§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl MessagePayload for ChatState
impl StructuralPartialEq for ChatState
Auto Trait Implementations§
impl Freeze for ChatState
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
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
)