Enum ex3_node_types::block::AmountChange
source · pub enum AmountChange {
Increase(AssetAmount),
Decrease(AssetAmount),
}Variants§
Increase(AssetAmount)
Decrease(AssetAmount)
Implementations§
Trait Implementations§
source§impl Clone for AmountChange
impl Clone for AmountChange
source§fn clone(&self) -> AmountChange
fn clone(&self) -> AmountChange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AmountChange
impl Debug for AmountChange
source§impl<'de> Deserialize<'de> for AmountChange
impl<'de> Deserialize<'de> for AmountChange
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 PartialEq<AmountChange> for AmountChange
impl PartialEq<AmountChange> for AmountChange
source§fn eq(&self, other: &AmountChange) -> bool
fn eq(&self, other: &AmountChange) -> bool
This method tests for
self and other values to be equal, and is used
by ==.