pub struct UserUniversalTransferParams {
pub type: String,
pub asset: String,
pub amount: Decimal,
pub from_symbol: Option<String>,
pub to_symbol: Option<String>,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [user_universal_transfer] operation.
This struct holds all of the inputs you can pass when calling
user_universal_transfer.
Fields§
§type: StringThe r#type parameter.
This field is **required.
asset: StringThe asset parameter.
This field is **required.
amount: DecimalThe amount parameter.
This field is **required.
from_symbol: Option<String>The from_symbol parameter.
This field is **optional.
to_symbol: Option<String>The to_symbol parameter.
This field is **optional.
recv_window: Option<i64>The recv_window parameter.
This field is **optional.
Implementations§
Trait Implementations§
Source§impl Clone for UserUniversalTransferParams
impl Clone for UserUniversalTransferParams
Source§fn clone(&self) -> UserUniversalTransferParams
fn clone(&self) -> UserUniversalTransferParams
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 UserUniversalTransferParams
impl RefUnwindSafe for UserUniversalTransferParams
impl Send for UserUniversalTransferParams
impl Sync for UserUniversalTransferParams
impl Unpin for UserUniversalTransferParams
impl UnsafeUnpin for UserUniversalTransferParams
impl UnwindSafe for UserUniversalTransferParams
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