#[repr(i32)]pub enum ECurrencyCode {
Show 47 variants
Invalid = 0,
USD = 1,
GBP = 2,
EUR = 3,
CHF = 4,
RUB = 5,
PLN = 6,
BRL = 7,
JPY = 8,
NOK = 9,
IDR = 10,
MYR = 11,
PHP = 12,
SGD = 13,
THB = 14,
VND = 15,
KRW = 16,
TRY = 17,
UAH = 18,
MXN = 19,
CAD = 20,
AUD = 21,
NZD = 22,
CNY = 23,
INR = 24,
CLP = 25,
PEN = 26,
COP = 27,
ZAR = 28,
HKD = 29,
TWD = 30,
SAR = 31,
AED = 32,
ARS = 34,
ILS = 35,
BYN = 36,
KZT = 37,
KWD = 38,
QAR = 39,
CRC = 40,
UYU = 41,
BGN = 42,
HRK = 43,
CZK = 44,
DKK = 45,
HUF = 46,
RON = 47,
}Expand description
The ECurrencyCode enumeration.
Source: lang/steammsg.steamd.
Variants§
Invalid = 0
USD = 1
GBP = 2
EUR = 3
CHF = 4
RUB = 5
PLN = 6
BRL = 7
JPY = 8
NOK = 9
IDR = 10
MYR = 11
PHP = 12
SGD = 13
THB = 14
VND = 15
KRW = 16
TRY = 17
UAH = 18
MXN = 19
CAD = 20
AUD = 21
NZD = 22
CNY = 23
INR = 24
CLP = 25
PEN = 26
COP = 27
ZAR = 28
HKD = 29
TWD = 30
SAR = 31
AED = 32
ARS = 34
ILS = 35
BYN = 36
KZT = 37
KWD = 38
QAR = 39
CRC = 40
UYU = 41
BGN = 42
HRK = 43
CZK = 44
DKK = 45
HUF = 46
RON = 47
Implementations§
Source§impl ECurrencyCode
impl ECurrencyCode
Sourcepub const ALL: &'static [ECurrencyCode]
pub const ALL: &'static [ECurrencyCode]
Every variant of ECurrencyCode.
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 ECurrencyCode
impl Clone for ECurrencyCode
impl Copy for ECurrencyCode
Source§impl Debug for ECurrencyCode
impl Debug for ECurrencyCode
impl Eq for ECurrencyCode
Source§impl From<ECurrencyCode> for i32
impl From<ECurrencyCode> for i32
Source§fn from(value: ECurrencyCode) -> i32
fn from(value: ECurrencyCode) -> i32
Converts to this type from the input type.
Source§impl Hash for ECurrencyCode
impl Hash for ECurrencyCode
Source§impl Ord for ECurrencyCode
impl Ord for ECurrencyCode
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 ECurrencyCode
impl PartialEq for ECurrencyCode
Source§impl PartialOrd for ECurrencyCode
impl PartialOrd for ECurrencyCode
impl StructuralPartialEq for ECurrencyCode
Source§impl TryFrom<i32> for ECurrencyCode
impl TryFrom<i32> for ECurrencyCode
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§impl TryFrom<u32> for ECurrencyCode
impl TryFrom<u32> for ECurrencyCode
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ECurrencyCode
impl RefUnwindSafe for ECurrencyCode
impl Send for ECurrencyCode
impl Sync for ECurrencyCode
impl Unpin for ECurrencyCode
impl UnsafeUnpin for ECurrencyCode
impl UnwindSafe for ECurrencyCode
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.