#[repr(i32)]pub enum MessageType {
Show 19 variants
Plain = 1,
Notice = 2,
Action = 4,
Nick = 8,
Mode = 16,
Join = 32,
Part = 64,
Quit = 128,
Kick = 256,
Kill = 512,
Server = 1_024,
Info = 2_048,
Error = 4_096,
DayChange = 8_192,
Topic = 16_384,
NetsplitJoin = 32_768,
NetsplitQuit = 65_536,
Invite = 131_072,
Markerline = 262_144,
}Variants§
Plain = 1
Notice = 2
Action = 4
Nick = 8
Mode = 16
Join = 32
Part = 64
Quit = 128
Kick = 256
Kill = 512
Server = 1_024
Info = 2_048
Error = 4_096
DayChange = 8_192
Topic = 16_384
NetsplitJoin = 32_768
NetsplitQuit = 65_536
Invite = 131_072
Markerline = 262_144
Trait Implementations§
Source§impl Clone for MessageType
impl Clone for MessageType
Source§fn clone(&self) -> MessageType
fn clone(&self) -> MessageType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MessageType
Source§impl Debug for MessageType
impl Debug for MessageType
Source§impl From<i32> for MessageType
impl From<i32> for MessageType
Source§impl PartialEq for MessageType
impl PartialEq for MessageType
Source§fn eq(&self, other: &MessageType) -> bool
fn eq(&self, other: &MessageType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MessageType
Auto Trait Implementations§
impl Freeze for MessageType
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnsafeUnpin for MessageType
impl UnwindSafe for MessageType
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