pub struct AccountTransferRequest {
pub asset: String,
pub amount: Decimal,
pub from: String,
pub to: String,
}
Expand description
A request to transfer assets between sub-accounts.
Fields§
§asset: String
§amount: Decimal
§from: String
§to: String
Implementations§
Trait Implementations§
Source§impl Clone for AccountTransferRequest
impl Clone for AccountTransferRequest
Source§fn clone(&self) -> AccountTransferRequest
fn clone(&self) -> AccountTransferRequest
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 AccountTransferRequest
impl Debug for AccountTransferRequest
Auto Trait Implementations§
impl Freeze for AccountTransferRequest
impl RefUnwindSafe for AccountTransferRequest
impl Send for AccountTransferRequest
impl Sync for AccountTransferRequest
impl Unpin for AccountTransferRequest
impl UnwindSafe for AccountTransferRequest
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