pub struct IndicativeQuoteRequestParams {
pub chain_id: u64,
pub send_token: String,
pub receive_token: String,
pub send_qty: String,
pub order_flow_source: String,
pub endorsement: Endorsement,
}
Fields§
§chain_id: u64
Chain ID of the EVM chain
send_token: String
Address of the ERC-20 token sent by the retail trader. For native ETH, this is 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee.
receive_token: String
Address of the ERC-20 token received by the retail trader. For native ETH, this is 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee.
send_qty: String
Send quantity specified as a scaled integer
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.
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