pub struct CreateQuoteParams {
pub create_quote: CreateQuote,
pub idempotency_key: Option<String>,
}Expand description
struct for passing parameters to the method TradingBetaApi::create_quote
Fields§
§create_quote: CreateQuote§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.
Implementations§
Source§impl CreateQuoteParams
impl CreateQuoteParams
Sourcepub fn builder() -> CreateQuoteParamsBuilder
pub fn builder() -> CreateQuoteParamsBuilder
Create an instance of CreateQuoteParams using the builder syntax
Trait Implementations§
Source§impl Clone for CreateQuoteParams
impl Clone for CreateQuoteParams
Source§fn clone(&self) -> CreateQuoteParams
fn clone(&self) -> CreateQuoteParams
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 CreateQuoteParams
impl RefUnwindSafe for CreateQuoteParams
impl Send for CreateQuoteParams
impl Sync for CreateQuoteParams
impl Unpin for CreateQuoteParams
impl UnwindSafe for CreateQuoteParams
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