Struct cw0::NativeBalance [−][src]
Tuple Fields
0: Vec<Coin>
Implementations
returns true if the list of coins has at least the required amount
normalize Wallet (sorted by denom, no 0 elements, no duplicate denoms)
similar to Balance.sub
, but doesn’t fail when minuend less than subtrahend
Trait Implementations
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NativeBalance
impl Send for NativeBalance
impl Sync for NativeBalance
impl Unpin for NativeBalance
impl UnwindSafe for NativeBalance
Blanket Implementations
Mutably borrows from an owned value. Read more