Struct filament_chain::Denom
source · pub struct Denom {
pub id: Id,
pub base: String,
pub units: Vec<Unit>,
}Expand description
Denominiation of an asset.
Fields§
§id: Id§base: String§units: Vec<Unit>Trait Implementations§
source§impl<'de> Deserialize<'de> for Denom
impl<'de> Deserialize<'de> for Denom
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 Denom
impl Ord for Denom
source§impl PartialEq for Denom
impl PartialEq for Denom
source§impl PartialOrd for Denom
impl PartialOrd for Denom
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 Eq for Denom
impl StructuralPartialEq for Denom
Auto Trait Implementations§
impl RefUnwindSafe for Denom
impl Send for Denom
impl Sync for Denom
impl Unpin for Denom
impl UnwindSafe for Denom
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