pub struct TransferToMasterParams {
pub asset: String,
pub amount: Decimal,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [transfer_to_master] operation.
This struct holds all of the inputs you can pass when calling
transfer_to_master.
Fields§
§asset: StringThe asset parameter.
This field is **required.
amount: DecimalThe amount parameter.
This field is **required.
recv_window: Option<i64>The recv_window parameter.
This field is **optional.
Implementations§
Source§impl TransferToMasterParams
impl TransferToMasterParams
Sourcepub fn builder(asset: String, amount: Decimal) -> TransferToMasterParamsBuilder
pub fn builder(asset: String, amount: Decimal) -> TransferToMasterParamsBuilder
Create a builder for [transfer_to_master].
Required parameters:
asset— Stringamount—rust_decimal::Decimal
Trait Implementations§
Source§impl Clone for TransferToMasterParams
impl Clone for TransferToMasterParams
Source§fn clone(&self) -> TransferToMasterParams
fn clone(&self) -> TransferToMasterParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TransferToMasterParams
impl RefUnwindSafe for TransferToMasterParams
impl Send for TransferToMasterParams
impl Sync for TransferToMasterParams
impl Unpin for TransferToMasterParams
impl UnsafeUnpin for TransferToMasterParams
impl UnwindSafe for TransferToMasterParams
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