pub struct AssetNameAndAmount {
pub name: String,
pub amount: i64,
}
Fields§
§name: String
§amount: i64
Trait Implementations§
Source§impl Clone for AssetNameAndAmount
impl Clone for AssetNameAndAmount
Source§fn clone(&self) -> AssetNameAndAmount
fn clone(&self) -> AssetNameAndAmount
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 AssetNameAndAmount
impl Debug for AssetNameAndAmount
Source§impl<'de> Deserialize<'de> for AssetNameAndAmount
impl<'de> Deserialize<'de> for AssetNameAndAmount
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
Auto Trait Implementations§
impl Freeze for AssetNameAndAmount
impl RefUnwindSafe for AssetNameAndAmount
impl Send for AssetNameAndAmount
impl Sync for AssetNameAndAmount
impl Unpin for AssetNameAndAmount
impl UnwindSafe for AssetNameAndAmount
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