pub struct InstructionAmount {
pub amount: String,
pub asset_id: String,
}
Fields§
§amount: String
The amount as string
asset_id: String
Unique asset identifier
Implementations§
Source§impl InstructionAmount
impl InstructionAmount
pub fn new(amount: String, asset_id: String) -> InstructionAmount
Trait Implementations§
Source§impl Clone for InstructionAmount
impl Clone for InstructionAmount
Source§fn clone(&self) -> InstructionAmount
fn clone(&self) -> InstructionAmount
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 InstructionAmount
impl Debug for InstructionAmount
Source§impl Default for InstructionAmount
impl Default for InstructionAmount
Source§fn default() -> InstructionAmount
fn default() -> InstructionAmount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstructionAmount
impl<'de> Deserialize<'de> for InstructionAmount
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 InstructionAmount
impl PartialEq for InstructionAmount
Source§impl Serialize for InstructionAmount
impl Serialize for InstructionAmount
impl StructuralPartialEq for InstructionAmount
Auto Trait Implementations§
impl Freeze for InstructionAmount
impl RefUnwindSafe for InstructionAmount
impl Send for InstructionAmount
impl Sync for InstructionAmount
impl Unpin for InstructionAmount
impl UnwindSafe for InstructionAmount
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