pub struct EmptyDesiredMarket {
pub mkt_type: u8,
pub is_depth: bool,
}Expand description
Explicit backend market group for an empty CMD6211 set-state request.
Empty requests are used when the last desired item in a market bucket is
removed. They still must carry the original backend route market in protocol
header reserved[0]; routeMarketID=0 is rejected by backend.
Fields§
§mkt_type: u8§is_depth: boolTrait Implementations§
Source§impl Clone for EmptyDesiredMarket
impl Clone for EmptyDesiredMarket
Source§fn clone(&self) -> EmptyDesiredMarket
fn clone(&self) -> EmptyDesiredMarket
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 EmptyDesiredMarket
impl Debug for EmptyDesiredMarket
Source§impl Hash for EmptyDesiredMarket
impl Hash for EmptyDesiredMarket
Source§impl Ord for EmptyDesiredMarket
impl Ord for EmptyDesiredMarket
Source§fn cmp(&self, other: &EmptyDesiredMarket) -> Ordering
fn cmp(&self, other: &EmptyDesiredMarket) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EmptyDesiredMarket
impl PartialEq for EmptyDesiredMarket
Source§impl PartialOrd for EmptyDesiredMarket
impl PartialOrd for EmptyDesiredMarket
impl Copy for EmptyDesiredMarket
impl Eq for EmptyDesiredMarket
impl StructuralPartialEq for EmptyDesiredMarket
Auto Trait Implementations§
impl Freeze for EmptyDesiredMarket
impl RefUnwindSafe for EmptyDesiredMarket
impl Send for EmptyDesiredMarket
impl Sync for EmptyDesiredMarket
impl Unpin for EmptyDesiredMarket
impl UnsafeUnpin for EmptyDesiredMarket
impl UnwindSafe for EmptyDesiredMarket
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.