Enum diem_sdk::transaction_builder::Currency
source · pub enum Currency {
XDX,
XUS,
}
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Currency
impl<'de> Deserialize<'de> for Currency
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 Ord for Currency
impl Ord for Currency
source§impl PartialEq<Currency> for Currency
impl PartialEq<Currency> for Currency
source§impl PartialEq<Currency> for String
impl PartialEq<Currency> for String
source§impl PartialEq<Currency> for str
impl PartialEq<Currency> for str
source§impl PartialEq<String> for Currency
impl PartialEq<String> for Currency
source§impl PartialOrd<Currency> for Currency
impl PartialOrd<Currency> for Currency
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 moreimpl Copy for Currency
impl Eq for Currency
impl StructuralEq for Currency
impl StructuralPartialEq for Currency
Auto Trait Implementations§
impl RefUnwindSafe for Currency
impl Send for Currency
impl Sync for Currency
impl Unpin for Currency
impl UnwindSafe for Currency
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.