pub struct ConvertAssetsParamsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build()
.
Implementations§
Source§impl<S: State> ConvertAssetsParamsBuilder<S>
impl<S: State> ConvertAssetsParamsBuilder<S>
Sourcepub fn build(self) -> ConvertAssetsParamswhere
S: IsComplete,
pub fn build(self) -> ConvertAssetsParamswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn exchange_account_id(
self,
value: String,
) -> ConvertAssetsParamsBuilder<SetExchangeAccountId<S>>where
S::ExchangeAccountId: IsUnset,
pub fn exchange_account_id(
self,
value: String,
) -> ConvertAssetsParamsBuilder<SetExchangeAccountId<S>>where
S::ExchangeAccountId: IsUnset,
Required.
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.
Sourcepub fn idempotency_key(
self,
value: String,
) -> ConvertAssetsParamsBuilder<SetIdempotencyKey<S>>where
S::IdempotencyKey: IsUnset,
pub fn idempotency_key(
self,
value: String,
) -> ConvertAssetsParamsBuilder<SetIdempotencyKey<S>>where
S::IdempotencyKey: IsUnset,
Sourcepub fn maybe_idempotency_key(
self,
value: Option<String>,
) -> ConvertAssetsParamsBuilder<SetIdempotencyKey<S>>where
S::IdempotencyKey: IsUnset,
pub fn maybe_idempotency_key(
self,
value: Option<String>,
) -> ConvertAssetsParamsBuilder<SetIdempotencyKey<S>>where
S::IdempotencyKey: IsUnset,
Sourcepub fn convert_assets_request(
self,
value: ConvertAssetsRequest,
) -> ConvertAssetsParamsBuilder<SetConvertAssetsRequest<S>>where
S::ConvertAssetsRequest: IsUnset,
pub fn convert_assets_request(
self,
value: ConvertAssetsRequest,
) -> ConvertAssetsParamsBuilder<SetConvertAssetsRequest<S>>where
S::ConvertAssetsRequest: IsUnset,
Sourcepub fn maybe_convert_assets_request(
self,
value: Option<ConvertAssetsRequest>,
) -> ConvertAssetsParamsBuilder<SetConvertAssetsRequest<S>>where
S::ConvertAssetsRequest: IsUnset,
pub fn maybe_convert_assets_request(
self,
value: Option<ConvertAssetsRequest>,
) -> ConvertAssetsParamsBuilder<SetConvertAssetsRequest<S>>where
S::ConvertAssetsRequest: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for ConvertAssetsParamsBuilder<S>
impl<S> RefUnwindSafe for ConvertAssetsParamsBuilder<S>
impl<S> Send for ConvertAssetsParamsBuilder<S>
impl<S> Sync for ConvertAssetsParamsBuilder<S>
impl<S> Unpin for ConvertAssetsParamsBuilder<S>
impl<S> UnwindSafe for ConvertAssetsParamsBuilder<S>
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