pub struct SetAssetPriceParamsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build()
.
Implementations§
Source§impl<S: State> SetAssetPriceParamsBuilder<S>
impl<S: State> SetAssetPriceParamsBuilder<S>
Sourcepub fn build(self) -> SetAssetPriceParamswhere
S: IsComplete,
pub fn build(self) -> SetAssetPriceParamswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn id(self, value: String) -> SetAssetPriceParamsBuilder<SetId<S>>where
S::Id: IsUnset,
pub fn id(self, value: String) -> SetAssetPriceParamsBuilder<SetId<S>>where
S::Id: IsUnset,
Required.
The ID of the asset
Sourcepub fn idempotency_key(
self,
value: String,
) -> SetAssetPriceParamsBuilder<SetIdempotencyKey<S>>where
S::IdempotencyKey: IsUnset,
pub fn idempotency_key(
self,
value: String,
) -> SetAssetPriceParamsBuilder<SetIdempotencyKey<S>>where
S::IdempotencyKey: IsUnset,
Sourcepub fn maybe_idempotency_key(
self,
value: Option<String>,
) -> SetAssetPriceParamsBuilder<SetIdempotencyKey<S>>where
S::IdempotencyKey: IsUnset,
pub fn maybe_idempotency_key(
self,
value: Option<String>,
) -> SetAssetPriceParamsBuilder<SetIdempotencyKey<S>>where
S::IdempotencyKey: IsUnset,
Sourcepub fn set_asset_price_request(
self,
value: SetAssetPriceRequest,
) -> SetAssetPriceParamsBuilder<SetSetAssetPriceRequest<S>>where
S::SetAssetPriceRequest: IsUnset,
pub fn set_asset_price_request(
self,
value: SetAssetPriceRequest,
) -> SetAssetPriceParamsBuilder<SetSetAssetPriceRequest<S>>where
S::SetAssetPriceRequest: IsUnset,
Sourcepub fn maybe_set_asset_price_request(
self,
value: Option<SetAssetPriceRequest>,
) -> SetAssetPriceParamsBuilder<SetSetAssetPriceRequest<S>>where
S::SetAssetPriceRequest: IsUnset,
pub fn maybe_set_asset_price_request(
self,
value: Option<SetAssetPriceRequest>,
) -> SetAssetPriceParamsBuilder<SetSetAssetPriceRequest<S>>where
S::SetAssetPriceRequest: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for SetAssetPriceParamsBuilder<S>
impl<S> RefUnwindSafe for SetAssetPriceParamsBuilder<S>
impl<S> Send for SetAssetPriceParamsBuilder<S>
impl<S> Sync for SetAssetPriceParamsBuilder<S>
impl<S> Unpin for SetAssetPriceParamsBuilder<S>
impl<S> UnwindSafe for SetAssetPriceParamsBuilder<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