#[repr(i32)]pub enum ESteamNotificationType {
Show 30 variants
Invalid = 0,
Test = 1,
Gift = 2,
Comment = 3,
Item = 4,
FriendInvite = 5,
MajorSale = 6,
PreloadAvailable = 7,
Wishlist = 8,
TradeOffer = 9,
General = 10,
HelpRequest = 11,
AsyncGame = 12,
ChatMsg = 13,
ModeratorMsg = 14,
ParentalFeatureAccessRequest = 15,
FamilyInvite = 16,
FamilyPurchaseRequest = 17,
ParentalPlaytimeRequest = 18,
FamilyPurchaseRequestResponse = 19,
ParentalFeatureAccessResponse = 20,
ParentalPlaytimeResponse = 21,
RequestedGameAdded = 22,
SendToPhone = 23,
ClipDownloaded = 24,
TwoFaPrompt = 25,
MobileConfirmation = 26,
PartnerEvent = 27,
PlaytestInvite = 28,
TradeReversal = 29,
}Expand description
Steam notification types
Variants§
Invalid = 0
Test = 1
Gift = 2
Comment = 3
Item = 4
FriendInvite = 5
MajorSale = 6
PreloadAvailable = 7
Wishlist = 8
TradeOffer = 9
General = 10
HelpRequest = 11
AsyncGame = 12
ChatMsg = 13
ModeratorMsg = 14
ParentalFeatureAccessRequest = 15
FamilyInvite = 16
FamilyPurchaseRequest = 17
ParentalPlaytimeRequest = 18
FamilyPurchaseRequestResponse = 19
ParentalFeatureAccessResponse = 20
ParentalPlaytimeResponse = 21
RequestedGameAdded = 22
SendToPhone = 23
ClipDownloaded = 24
TwoFaPrompt = 25
MobileConfirmation = 26
PartnerEvent = 27
PlaytestInvite = 28
TradeReversal = 29
Implementations§
Source§impl ESteamNotificationType
impl ESteamNotificationType
Sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true if value is a variant of ESteamNotificationType.
Sourcepub fn from_i32(value: i32) -> Option<ESteamNotificationType>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<ESteamNotificationType>
Use the TryFrom<i32> implementation instead
Converts an i32 to a ESteamNotificationType, or None if value is not a valid variant.
Trait Implementations§
Source§impl Clone for ESteamNotificationType
impl Clone for ESteamNotificationType
Source§fn clone(&self) -> ESteamNotificationType
fn clone(&self) -> ESteamNotificationType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ESteamNotificationType
impl Debug for ESteamNotificationType
Source§impl Default for ESteamNotificationType
impl Default for ESteamNotificationType
Source§fn default() -> ESteamNotificationType
fn default() -> ESteamNotificationType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ESteamNotificationType
impl<'de> Deserialize<'de> for ESteamNotificationType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ESteamNotificationType> for i32
impl From<ESteamNotificationType> for i32
Source§fn from(value: ESteamNotificationType) -> i32
fn from(value: ESteamNotificationType) -> i32
Converts to this type from the input type.
Source§impl Hash for ESteamNotificationType
impl Hash for ESteamNotificationType
Source§impl PartialEq for ESteamNotificationType
impl PartialEq for ESteamNotificationType
Source§impl Serialize for ESteamNotificationType
impl Serialize for ESteamNotificationType
Source§impl TryFrom<i32> for ESteamNotificationType
impl TryFrom<i32> for ESteamNotificationType
Source§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<ESteamNotificationType, DecodeError>
fn try_from(value: i32) -> Result<ESteamNotificationType, DecodeError>
Performs the conversion.
impl Copy for ESteamNotificationType
impl Eq for ESteamNotificationType
impl StructuralPartialEq for ESteamNotificationType
Auto Trait Implementations§
impl Freeze for ESteamNotificationType
impl RefUnwindSafe for ESteamNotificationType
impl Send for ESteamNotificationType
impl Sync for ESteamNotificationType
impl Unpin for ESteamNotificationType
impl UnsafeUnpin for ESteamNotificationType
impl UnwindSafe for ESteamNotificationType
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