pub struct AddOffExchangeParams {
pub idempotency_key: Option<String>,
pub add_collateral_request_body: Option<AddCollateralRequestBody>,
}
Expand description
struct for passing parameters to the method [add_off_exchange
]
Fields§
§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.
add_collateral_request_body: Option<AddCollateralRequestBody>
Implementations§
Source§impl AddOffExchangeParams
impl AddOffExchangeParams
Sourcepub fn builder() -> AddOffExchangeParamsBuilder
pub fn builder() -> AddOffExchangeParamsBuilder
Create an instance of AddOffExchangeParams
using the builder syntax
Trait Implementations§
Source§impl Clone for AddOffExchangeParams
impl Clone for AddOffExchangeParams
Source§fn clone(&self) -> AddOffExchangeParams
fn clone(&self) -> AddOffExchangeParams
Returns a copy 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 AddOffExchangeParams
impl RefUnwindSafe for AddOffExchangeParams
impl Send for AddOffExchangeParams
impl Sync for AddOffExchangeParams
impl Unpin for AddOffExchangeParams
impl UnwindSafe for AddOffExchangeParams
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