pub struct SetAssetPriceParams {
pub id: String,
pub idempotency_key: Option<String>,
pub set_asset_price_request: Option<SetAssetPriceRequest>,
}
Expand description
struct for passing parameters to the method [set_asset_price
]
Fields§
§id: String
The ID of the asset
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.
set_asset_price_request: Option<SetAssetPriceRequest>
Implementations§
Source§impl SetAssetPriceParams
impl SetAssetPriceParams
Sourcepub fn builder() -> SetAssetPriceParamsBuilder
pub fn builder() -> SetAssetPriceParamsBuilder
Create an instance of SetAssetPriceParams
using the builder syntax
Trait Implementations§
Source§impl Clone for SetAssetPriceParams
impl Clone for SetAssetPriceParams
Source§fn clone(&self) -> SetAssetPriceParams
fn clone(&self) -> SetAssetPriceParams
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 SetAssetPriceParams
impl RefUnwindSafe for SetAssetPriceParams
impl Send for SetAssetPriceParams
impl Sync for SetAssetPriceParams
impl Unpin for SetAssetPriceParams
impl UnwindSafe for SetAssetPriceParams
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