Type Alias sep2_common::packages::types::CurrencyCode
source · pub type CurrencyCode = Uint16;
Expand description
Follows codes defined in ISO 4217. An exhaustive list is currently out of scope for this project
Aliased Type§
struct CurrencyCode(pub u16);
Fields§
§0: u16
Methods from Deref<Target = u16>§
pub const MIN: u16 = 0u16
pub const MAX: u16 = 65_535u16
pub const BITS: u32 = 16u32
Trait Implementations§
source§impl Ord for Uint16
impl Ord for Uint16
source§impl PartialEq<Uint16> for Uint16
impl PartialEq<Uint16> for Uint16
source§impl PartialOrd<Uint16> for Uint16
impl PartialOrd<Uint16> for Uint16
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more