pub struct ConvertAssetsParams {
pub exchange_account_id: String,
pub idempotency_key: Option<String>,
pub convert_assets_request: Option<ConvertAssetsRequest>,
}
Expand description
struct for passing parameters to the method [convert_assets
]
Fields§
§exchange_account_id: String
The ID of the exchange account. Please make sure the exchange supports conversions. To find the ID of your exchange account, use GET/exchange_accounts.
idempotency_key: Option<String>
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
convert_assets_request: Option<ConvertAssetsRequest>
Implementations§
Source§impl ConvertAssetsParams
impl ConvertAssetsParams
Sourcepub fn builder() -> ConvertAssetsParamsBuilder
pub fn builder() -> ConvertAssetsParamsBuilder
Create an instance of ConvertAssetsParams
using the builder syntax
Trait Implementations§
Source§impl Clone for ConvertAssetsParams
impl Clone for ConvertAssetsParams
Source§fn clone(&self) -> ConvertAssetsParams
fn clone(&self) -> ConvertAssetsParams
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 moreAuto Trait Implementations§
impl Freeze for ConvertAssetsParams
impl RefUnwindSafe for ConvertAssetsParams
impl Send for ConvertAssetsParams
impl Sync for ConvertAssetsParams
impl Unpin for ConvertAssetsParams
impl UnwindSafe for ConvertAssetsParams
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