pub struct PreviewOrderResult {
pub resolved_base_qty: Option<Quantity>,
pub price_bound: Option<Price>,
pub estimated_quote_debit: Quantity,
pub estimated_fee: Quantity,
pub estimated_net_base_qty: Option<Quantity>,
pub fee_asset: String,
pub fresh_at_ts_ns: u64,
}Fields§
§resolved_base_qty: Option<Quantity>§price_bound: Option<Price>§estimated_quote_debit: QuantityAll-in quote debit with OrderQuote domain + catalog quote scale.
estimated_fee: QuantityEstimated fee with OrderBase or OrderQuote domain according to
Self::fee_asset.
estimated_net_base_qty: Option<Quantity>§fee_asset: String§fresh_at_ts_ns: u64Trait Implementations§
Source§impl Clone for PreviewOrderResult
impl Clone for PreviewOrderResult
Source§fn clone(&self) -> PreviewOrderResult
fn clone(&self) -> PreviewOrderResult
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 PreviewOrderResult
impl Debug for PreviewOrderResult
impl Eq for PreviewOrderResult
Source§impl PartialEq for PreviewOrderResult
impl PartialEq for PreviewOrderResult
impl StructuralPartialEq for PreviewOrderResult
Auto Trait Implementations§
impl Freeze for PreviewOrderResult
impl RefUnwindSafe for PreviewOrderResult
impl Send for PreviewOrderResult
impl Sync for PreviewOrderResult
impl Unpin for PreviewOrderResult
impl UnsafeUnpin for PreviewOrderResult
impl UnwindSafe for PreviewOrderResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.