#[repr(i32)]pub enum EChatEntryType {
Show 13 variants
Invalid = 0,
ChatMsg = 1,
Typing = 2,
InviteGame = 3,
LeftConversation = 6,
Entered = 7,
WasKicked = 8,
WasBanned = 9,
Disconnected = 10,
HistoricalChat = 11,
Reserved1 = 12,
Reserved2 = 13,
LinkBlocked = 14,
}Expand description
The EChatEntryType enumeration.
Source: lang/steammsg.steamd.
Variants§
Invalid = 0
ChatMsg = 1
Typing = 2
InviteGame = 3
LeftConversation = 6
Entered = 7
WasKicked = 8
WasBanned = 9
Disconnected = 10
HistoricalChat = 11
Reserved1 = 12
Reserved2 = 13
LinkBlocked = 14
Implementations§
Source§impl EChatEntryType
impl EChatEntryType
Sourcepub const ALL: &'static [EChatEntryType]
pub const ALL: &'static [EChatEntryType]
Every variant of EChatEntryType.
Sourcepub fn from_value(value: i32) -> Option<Self>
pub fn from_value(value: i32) -> Option<Self>
Builds a variant from its numeric value.
When several variants share a value, the first declared one is returned.
Trait Implementations§
Source§impl Clone for EChatEntryType
impl Clone for EChatEntryType
impl Copy for EChatEntryType
Source§impl Debug for EChatEntryType
impl Debug for EChatEntryType
impl Eq for EChatEntryType
Source§impl From<EChatEntryType> for i32
impl From<EChatEntryType> for i32
Source§fn from(value: EChatEntryType) -> i32
fn from(value: EChatEntryType) -> i32
Converts to this type from the input type.
Source§impl Hash for EChatEntryType
impl Hash for EChatEntryType
Source§impl Ord for EChatEntryType
impl Ord for EChatEntryType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for EChatEntryType
impl PartialEq for EChatEntryType
Source§impl PartialOrd for EChatEntryType
impl PartialOrd for EChatEntryType
impl StructuralPartialEq for EChatEntryType
Source§impl TryFrom<i32> for EChatEntryType
impl TryFrom<i32> for EChatEntryType
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§impl TryFrom<u32> for EChatEntryType
impl TryFrom<u32> for EChatEntryType
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§impl WireEnum for EChatEntryType
impl WireEnum for EChatEntryType
Source§impl WireValue for EChatEntryType
impl WireValue for EChatEntryType
Auto Trait Implementations§
impl Freeze for EChatEntryType
impl RefUnwindSafe for EChatEntryType
impl Send for EChatEntryType
impl Sync for EChatEntryType
impl Unpin for EChatEntryType
impl UnsafeUnpin for EChatEntryType
impl UnwindSafe for EChatEntryType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.