pub struct RetryRequoteRequestDetails {
pub type: Type,
pub count: f64,
pub slippage_bps: Option<f64>,
}Fields§
§type: TypeIndicates that the order should be re-quoted if the original quote is expired, trying to match the original quote.
count: f64If quote is expired, how many times to re-generate new quotes to try having the order executed as in the original quote.
slippage_bps: Option<f64>Slippage tolerance in basis points (bps) for quote orders - 1 is 0.01% and 10000 is 100%
Implementations§
Source§impl RetryRequoteRequestDetails
impl RetryRequoteRequestDetails
pub fn new(type: Type, count: f64) -> RetryRequoteRequestDetails
Trait Implementations§
Source§impl Clone for RetryRequoteRequestDetails
impl Clone for RetryRequoteRequestDetails
Source§fn clone(&self) -> RetryRequoteRequestDetails
fn clone(&self) -> RetryRequoteRequestDetails
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 RetryRequoteRequestDetails
impl Debug for RetryRequoteRequestDetails
Source§impl Default for RetryRequoteRequestDetails
impl Default for RetryRequoteRequestDetails
Source§fn default() -> RetryRequoteRequestDetails
fn default() -> RetryRequoteRequestDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RetryRequoteRequestDetails
impl<'de> Deserialize<'de> for RetryRequoteRequestDetails
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
impl StructuralPartialEq for RetryRequoteRequestDetails
Auto Trait Implementations§
impl Freeze for RetryRequoteRequestDetails
impl RefUnwindSafe for RetryRequoteRequestDetails
impl Send for RetryRequoteRequestDetails
impl Sync for RetryRequoteRequestDetails
impl Unpin for RetryRequoteRequestDetails
impl UnwindSafe for RetryRequoteRequestDetails
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