pub struct CreateQuoteParams {
pub rfq_id: String,
pub quote_link_id: Option<String>,
pub anonymous: Option<bool>,
pub expire_in: Option<i64>,
pub quote_buy_list: Option<Vec<QuoteLeg>>,
pub quote_sell_list: Option<Vec<QuoteLeg>>,
}Expand description
Create quote request parameters.
Fields§
§rfq_id: String§quote_link_id: Option<String>§anonymous: Option<bool>§expire_in: Option<i64>§quote_buy_list: Option<Vec<QuoteLeg>>§quote_sell_list: Option<Vec<QuoteLeg>>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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateQuoteParams
impl Debug for CreateQuoteParams
Source§impl<'de> Deserialize<'de> for CreateQuoteParams
impl<'de> Deserialize<'de> for CreateQuoteParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CreateQuoteParams
impl RefUnwindSafe for CreateQuoteParams
impl Send for CreateQuoteParams
impl Sync for CreateQuoteParams
impl Unpin for CreateQuoteParams
impl UnsafeUnpin 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