pub struct IndicativeQuoteRequestParams {
pub send_mint: String,
pub receive_mint: String,
pub send_qty: String,
pub order_flow_source: String,
pub endorsement: Endorsement,
pub fee_payer: Option<FeePayer>,
}
Fields§
§send_mint: String
Base58-encoded SPL mint sent by the retail trader.
receive_mint: String
Base58-encoded SPL mint received by the retail trader.
send_qty: String
Quantity to send
order_flow_source: String
DFlow network public key identifying the order flow source.
endorsement: Endorsement
The order flow source’s endorsement of this quote request.
fee_payer: Option<FeePayer>
(Optional) The fee payer for the transaction. If unspecified and the order flow source has multiple auctions with different fee payer modes that match the request, the signatory server will determine which fee payer mode to use.
Trait Implementations§
Source§impl Clone for IndicativeQuoteRequestParams
impl Clone for IndicativeQuoteRequestParams
Source§fn clone(&self) -> IndicativeQuoteRequestParams
fn clone(&self) -> IndicativeQuoteRequestParams
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 moreSource§impl Debug for IndicativeQuoteRequestParams
impl Debug for IndicativeQuoteRequestParams
Source§impl<'de> Deserialize<'de> for IndicativeQuoteRequestParams
impl<'de> Deserialize<'de> for IndicativeQuoteRequestParams
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
Source§impl Hash for IndicativeQuoteRequestParams
impl Hash for IndicativeQuoteRequestParams
Source§impl PartialEq for IndicativeQuoteRequestParams
impl PartialEq for IndicativeQuoteRequestParams
Source§fn eq(&self, other: &IndicativeQuoteRequestParams) -> bool
fn eq(&self, other: &IndicativeQuoteRequestParams) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for IndicativeQuoteRequestParams
impl StructuralPartialEq for IndicativeQuoteRequestParams
Auto Trait Implementations§
impl Freeze for IndicativeQuoteRequestParams
impl RefUnwindSafe for IndicativeQuoteRequestParams
impl Send for IndicativeQuoteRequestParams
impl Sync for IndicativeQuoteRequestParams
impl Unpin for IndicativeQuoteRequestParams
impl UnwindSafe for IndicativeQuoteRequestParams
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