pub struct IssuedAmount {
pub value: String,
pub currency: String,
pub issuer: String,
}Expand description
Amount of issued token. See https://xrpl.org/currency-formats.html#token-amounts
Fields§
§value: StringDecimal representation of token amount, see https://xrpl.org/currency-formats.html#token-amounts
currency: StringCurrency code, see https://xrpl.org/currency-formats.html#currency-codes
issuer: StringIssuer of token, see https://xrpl.org/currency-formats.html#token-amounts
Implementations§
Trait Implementations§
Source§impl Clone for IssuedAmount
impl Clone for IssuedAmount
Source§fn clone(&self) -> IssuedAmount
fn clone(&self) -> IssuedAmount
Returns a duplicate 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 IssuedAmount
impl Debug for IssuedAmount
Source§impl<'de> Deserialize<'de> for IssuedAmount
impl<'de> Deserialize<'de> for IssuedAmount
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 for IssuedAmount
impl PartialEq for IssuedAmount
Source§impl Serialize for IssuedAmount
impl Serialize for IssuedAmount
impl Eq for IssuedAmount
impl StructuralPartialEq for IssuedAmount
Auto Trait Implementations§
impl Freeze for IssuedAmount
impl RefUnwindSafe for IssuedAmount
impl Send for IssuedAmount
impl Sync for IssuedAmount
impl Unpin for IssuedAmount
impl UnwindSafe for IssuedAmount
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