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