pub struct OrderResponseDecoder<'a> {
pub acting_block_length: u16,
pub acting_version: u16,
/* private fields */
}Fields§
§acting_block_length: u16§acting_version: u16Implementations§
Source§impl<'a> OrderResponseDecoder<'a>
impl<'a> OrderResponseDecoder<'a>
pub fn wrap( self, buf: ReadBuf<'a>, offset: usize, acting_block_length: u16, acting_version: u16, ) -> Self
pub fn encoded_length(&self) -> usize
pub fn header( self, header: MessageHeaderDecoder<ReadBuf<'a>>, offset: usize, ) -> Self
Sourcepub fn price_exponent(&self) -> i8
pub fn price_exponent(&self) -> i8
primitive field - ‘REQUIRED’
Sourcepub fn qty_exponent(&self) -> i8
pub fn qty_exponent(&self) -> i8
primitive field - ‘REQUIRED’
Sourcepub fn order_list_id(&self) -> Option<i64>
pub fn order_list_id(&self) -> Option<i64>
primitive field - ‘OPTIONAL’ { null_value: ‘-9223372036854775808_i64’ }
Sourcepub fn executed_qty(&self) -> i64
pub fn executed_qty(&self) -> i64
primitive field - ‘REQUIRED’
Sourcepub fn cummulative_quote_qty(&self) -> i64
pub fn cummulative_quote_qty(&self) -> i64
primitive field - ‘REQUIRED’
Sourcepub fn status(&self) -> OrderStatus
pub fn status(&self) -> OrderStatus
REQUIRED enum
Sourcepub fn time_in_force(&self) -> TimeInForce
pub fn time_in_force(&self) -> TimeInForce
REQUIRED enum
Sourcepub fn order_type(&self) -> OrderType
pub fn order_type(&self) -> OrderType
REQUIRED enum
Sourcepub fn stop_price(&self) -> Option<i64>
pub fn stop_price(&self) -> Option<i64>
primitive field - ‘OPTIONAL’ { null_value: ‘-9223372036854775808_i64’ }
Sourcepub fn trailing_delta(&self) -> Option<i64>
pub fn trailing_delta(&self) -> Option<i64>
primitive field - ‘OPTIONAL’ { null_value: ‘-9223372036854775808_i64’ }
Sourcepub fn trailing_time(&self) -> Option<i64>
pub fn trailing_time(&self) -> Option<i64>
primitive field - ‘OPTIONAL’ { null_value: ‘-9223372036854775808_i64’ }
Sourcepub fn iceberg_qty(&self) -> Option<i64>
pub fn iceberg_qty(&self) -> Option<i64>
primitive field - ‘OPTIONAL’ { null_value: ‘-9223372036854775808_i64’ }
Sourcepub fn update_time(&self) -> i64
pub fn update_time(&self) -> i64
primitive field - ‘REQUIRED’
Sourcepub fn is_working(&self) -> BoolEnum
pub fn is_working(&self) -> BoolEnum
REQUIRED enum
Sourcepub fn working_time(&self) -> Option<i64>
pub fn working_time(&self) -> Option<i64>
primitive field - ‘OPTIONAL’ { null_value: ‘-9223372036854775808_i64’ }
Sourcepub fn orig_quote_order_qty(&self) -> i64
pub fn orig_quote_order_qty(&self) -> i64
primitive field - ‘REQUIRED’
Sourcepub fn strategy_id(&self) -> Option<i64>
pub fn strategy_id(&self) -> Option<i64>
primitive field - ‘OPTIONAL’ { null_value: ‘-9223372036854775808_i64’ }
Sourcepub fn strategy_type(&self) -> Option<i32>
pub fn strategy_type(&self) -> Option<i32>
primitive field - ‘OPTIONAL’ { null_value: ‘-2147483648_i32’ }
Sourcepub fn order_capacity(&self) -> OrderCapacity
pub fn order_capacity(&self) -> OrderCapacity
REQUIRED enum
Sourcepub fn working_floor(&self) -> Floor
pub fn working_floor(&self) -> Floor
REQUIRED enum
Sourcepub fn self_trade_prevention_mode(&self) -> SelfTradePreventionMode
pub fn self_trade_prevention_mode(&self) -> SelfTradePreventionMode
REQUIRED enum
Sourcepub fn prevented_match_id(&self) -> Option<i64>
pub fn prevented_match_id(&self) -> Option<i64>
primitive field - ‘OPTIONAL’ { null_value: ‘-9223372036854775808_i64’ }
Sourcepub fn prevented_quantity(&self) -> i64
pub fn prevented_quantity(&self) -> i64
primitive field - ‘REQUIRED’
Sourcepub fn peg_price_type(&self) -> PegPriceType
pub fn peg_price_type(&self) -> PegPriceType
REQUIRED enum
Sourcepub fn peg_offset_type(&self) -> PegOffsetType
pub fn peg_offset_type(&self) -> PegOffsetType
REQUIRED enum
Sourcepub fn peg_offset_value(&self) -> Option<u8>
pub fn peg_offset_value(&self) -> Option<u8>
primitive field - ‘OPTIONAL’ { null_value: ‘0xff_u8’ }
Sourcepub fn pegged_price(&self) -> Option<i64>
pub fn pegged_price(&self) -> Option<i64>
primitive field - ‘OPTIONAL’ { null_value: ‘-9223372036854775808_i64’ }
Sourcepub fn symbol_decoder(&mut self) -> (usize, usize)
pub fn symbol_decoder(&mut self) -> (usize, usize)
VAR_DATA DECODER - character encoding: ‘UTF-8’
pub fn symbol_slice(&'a self, coordinates: (usize, usize)) -> &'a [u8] ⓘ
Sourcepub fn client_order_id_decoder(&mut self) -> (usize, usize)
pub fn client_order_id_decoder(&mut self) -> (usize, usize)
VAR_DATA DECODER - character encoding: ‘UTF-8’
pub fn client_order_id_slice(&'a self, coordinates: (usize, usize)) -> &'a [u8] ⓘ
Trait Implementations§
Source§impl ActingVersion for OrderResponseDecoder<'_>
impl ActingVersion for OrderResponseDecoder<'_>
fn acting_version(&self) -> u16
Source§impl<'a> Clone for OrderResponseDecoder<'a>
impl<'a> Clone for OrderResponseDecoder<'a>
Source§fn clone(&self) -> OrderResponseDecoder<'a>
fn clone(&self) -> OrderResponseDecoder<'a>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'a> Debug for OrderResponseDecoder<'a>
impl<'a> Debug for OrderResponseDecoder<'a>
Source§impl<'a> Decoder<'a> for OrderResponseDecoder<'a>
impl<'a> Decoder<'a> for OrderResponseDecoder<'a>
Source§impl<'a> Default for OrderResponseDecoder<'a>
impl<'a> Default for OrderResponseDecoder<'a>
Source§fn default() -> OrderResponseDecoder<'a>
fn default() -> OrderResponseDecoder<'a>
impl<'a> Copy for OrderResponseDecoder<'a>
Auto Trait Implementations§
impl<'a> Freeze for OrderResponseDecoder<'a>
impl<'a> RefUnwindSafe for OrderResponseDecoder<'a>
impl<'a> Send for OrderResponseDecoder<'a>
impl<'a> Sync for OrderResponseDecoder<'a>
impl<'a> Unpin for OrderResponseDecoder<'a>
impl<'a> UnsafeUnpin for OrderResponseDecoder<'a>
impl<'a> UnwindSafe for OrderResponseDecoder<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more