#[repr(i32)]pub enum EChatAction {
Show 16 variants
InviteChat = 1,
Kick = 2,
Ban = 3,
UnBan = 4,
StartVoiceSpeak = 5,
EndVoiceSpeak = 6,
LockChat = 7,
UnlockChat = 8,
CloseChat = 9,
SetJoinable = 10,
SetUnjoinable = 11,
SetOwner = 12,
SetInvisibleToFriends = 13,
SetVisibleToFriends = 14,
SetModerated = 15,
SetUnmoderated = 16,
}Expand description
The EChatAction enumeration.
Source: lang/steammsg.steamd.
Variants§
InviteChat = 1
Kick = 2
Ban = 3
UnBan = 4
StartVoiceSpeak = 5
EndVoiceSpeak = 6
LockChat = 7
UnlockChat = 8
CloseChat = 9
SetJoinable = 10
SetUnjoinable = 11
SetOwner = 12
SetInvisibleToFriends = 13
SetVisibleToFriends = 14
SetModerated = 15
SetUnmoderated = 16
Implementations§
Source§impl EChatAction
impl EChatAction
Sourcepub const ALL: &'static [EChatAction]
pub const ALL: &'static [EChatAction]
Every variant of EChatAction.
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 EChatAction
impl Clone for EChatAction
impl Copy for EChatAction
Source§impl Debug for EChatAction
impl Debug for EChatAction
impl Eq for EChatAction
Source§impl From<EChatAction> for i32
impl From<EChatAction> for i32
Source§fn from(value: EChatAction) -> i32
fn from(value: EChatAction) -> i32
Converts to this type from the input type.
Source§impl Hash for EChatAction
impl Hash for EChatAction
Source§impl Ord for EChatAction
impl Ord for EChatAction
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 EChatAction
impl PartialEq for EChatAction
Source§impl PartialOrd for EChatAction
impl PartialOrd for EChatAction
impl StructuralPartialEq for EChatAction
Source§impl TryFrom<i32> for EChatAction
impl TryFrom<i32> for EChatAction
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§impl TryFrom<u32> for EChatAction
impl TryFrom<u32> for EChatAction
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§impl WireEnum for EChatAction
impl WireEnum for EChatAction
Source§impl WireValue for EChatAction
impl WireValue for EChatAction
Auto Trait Implementations§
impl Freeze for EChatAction
impl RefUnwindSafe for EChatAction
impl Send for EChatAction
impl Sync for EChatAction
impl Unpin for EChatAction
impl UnsafeUnpin for EChatAction
impl UnwindSafe for EChatAction
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.