#[repr(i32)]pub enum EBillingType {
Show 17 variants
NoCost = 0,
BillOnceOnly = 1,
BillMonthly = 2,
ProofOfPrepurchaseOnly = 3,
GuestPass = 4,
HardwarePromo = 5,
Gift = 6,
AutoGrant = 7,
OEMTicket = 8,
RecurringOption = 9,
BillOnceOrCDKey = 10,
Repurchaseable = 11,
FreeOnDemand = 12,
Rental = 13,
CommercialLicense = 14,
FreeCommercialLicense = 15,
NumBillingTypes = 16,
}Expand description
The EBillingType enumeration.
Source: lang/steammsg.steamd.
Variants§
NoCost = 0
BillOnceOnly = 1
BillMonthly = 2
ProofOfPrepurchaseOnly = 3
GuestPass = 4
HardwarePromo = 5
Gift = 6
AutoGrant = 7
OEMTicket = 8
RecurringOption = 9
BillOnceOrCDKey = 10
Repurchaseable = 11
FreeOnDemand = 12
Rental = 13
CommercialLicense = 14
FreeCommercialLicense = 15
NumBillingTypes = 16
Implementations§
Source§impl EBillingType
impl EBillingType
Sourcepub const ALL: &'static [EBillingType]
pub const ALL: &'static [EBillingType]
Every variant of EBillingType.
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 EBillingType
impl Clone for EBillingType
impl Copy for EBillingType
Source§impl Debug for EBillingType
impl Debug for EBillingType
impl Eq for EBillingType
Source§impl From<EBillingType> for i32
impl From<EBillingType> for i32
Source§fn from(value: EBillingType) -> i32
fn from(value: EBillingType) -> i32
Converts to this type from the input type.
Source§impl Hash for EBillingType
impl Hash for EBillingType
Source§impl Ord for EBillingType
impl Ord for EBillingType
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 EBillingType
impl PartialEq for EBillingType
Source§impl PartialOrd for EBillingType
impl PartialOrd for EBillingType
impl StructuralPartialEq for EBillingType
Source§impl TryFrom<i32> for EBillingType
impl TryFrom<i32> for EBillingType
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§impl TryFrom<u32> for EBillingType
impl TryFrom<u32> for EBillingType
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for EBillingType
impl RefUnwindSafe for EBillingType
impl Send for EBillingType
impl Sync for EBillingType
impl Unpin for EBillingType
impl UnsafeUnpin for EBillingType
impl UnwindSafe for EBillingType
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.