#[repr(i32)]pub enum ESystemIMType {
RawText = 0,
InvalidCard = 1,
RecurringPurchaseFailed = 2,
CardWillExpire = 3,
SubscriptionExpired = 4,
GuestPassReceived = 5,
GuestPassGranted = 6,
GiftRevoked = 7,
SupportMessage = 8,
SupportMessageClearAlert = 9,
}Expand description
The ESystemIMType enumeration.
Source: lang/steammsg.steamd.
Variants§
RawText = 0
InvalidCard = 1
RecurringPurchaseFailed = 2
CardWillExpire = 3
SubscriptionExpired = 4
GuestPassReceived = 5
GuestPassGranted = 6
GiftRevoked = 7
SupportMessage = 8
SupportMessageClearAlert = 9
Implementations§
Source§impl ESystemIMType
impl ESystemIMType
Sourcepub const ALL: &'static [ESystemIMType]
pub const ALL: &'static [ESystemIMType]
Every variant of ESystemIMType.
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 ESystemIMType
impl Clone for ESystemIMType
impl Copy for ESystemIMType
Source§impl Debug for ESystemIMType
impl Debug for ESystemIMType
impl Eq for ESystemIMType
Source§impl From<ESystemIMType> for i32
impl From<ESystemIMType> for i32
Source§fn from(value: ESystemIMType) -> i32
fn from(value: ESystemIMType) -> i32
Converts to this type from the input type.
Source§impl Hash for ESystemIMType
impl Hash for ESystemIMType
Source§impl Ord for ESystemIMType
impl Ord for ESystemIMType
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 ESystemIMType
impl PartialEq for ESystemIMType
Source§impl PartialOrd for ESystemIMType
impl PartialOrd for ESystemIMType
impl StructuralPartialEq for ESystemIMType
Source§impl TryFrom<i32> for ESystemIMType
impl TryFrom<i32> for ESystemIMType
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§impl TryFrom<u32> for ESystemIMType
impl TryFrom<u32> for ESystemIMType
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ESystemIMType
impl RefUnwindSafe for ESystemIMType
impl Send for ESystemIMType
impl Sync for ESystemIMType
impl Unpin for ESystemIMType
impl UnsafeUnpin for ESystemIMType
impl UnwindSafe for ESystemIMType
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.