pub struct FirmQuoteRequestParams {
pub send_mint: String,
pub receive_mint: String,
pub send_qty: String,
pub use_native_sol: Option<bool>,
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
use_native_sol: Option<bool>
Use native SOL instead of wrapped SOL when buying or selling SOL. Default is true.
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 FirmQuoteRequestParams
impl Clone for FirmQuoteRequestParams
Source§fn clone(&self) -> FirmQuoteRequestParams
fn clone(&self) -> FirmQuoteRequestParams
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 FirmQuoteRequestParams
impl Debug for FirmQuoteRequestParams
Source§impl<'de> Deserialize<'de> for FirmQuoteRequestParams
impl<'de> Deserialize<'de> for FirmQuoteRequestParams
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 FirmQuoteRequestParams
impl Hash for FirmQuoteRequestParams
Source§impl PartialEq for FirmQuoteRequestParams
impl PartialEq for FirmQuoteRequestParams
Source§impl Serialize for FirmQuoteRequestParams
impl Serialize for FirmQuoteRequestParams
impl Eq for FirmQuoteRequestParams
impl StructuralPartialEq for FirmQuoteRequestParams
Auto Trait Implementations§
impl Freeze for FirmQuoteRequestParams
impl RefUnwindSafe for FirmQuoteRequestParams
impl Send for FirmQuoteRequestParams
impl Sync for FirmQuoteRequestParams
impl Unpin for FirmQuoteRequestParams
impl UnwindSafe for FirmQuoteRequestParams
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