pub struct OrdersDecoder<P> { /* private fields */ }Implementations§
Source§impl<'a, P> OrdersDecoder<P>
impl<'a, P> OrdersDecoder<P>
pub fn wrap(self, parent: P) -> Self
Sourcepub fn parent(&mut self) -> SbeResult<P>
pub fn parent(&mut self) -> SbeResult<P>
group token - Token{signal=BEGIN_GROUP, name=‘orders’, referencedName=‘null’, description=‘null’, packageName=‘null’, id=100, version=0, deprecated=0, encodedLength=162, offset=0, componentTokenCount=177, encoding=Encoding{presence=REQUIRED, primitiveType=null, byteOrder=LITTLE_ENDIAN, minValue=null, maxValue=null, nullValue=null, constValue=null, characterEncoding=‘null’, epoch=‘null’, timeUnit=null, semanticType=‘null’}}
pub fn acting_version(&mut self) -> u16
pub fn count(&self) -> u32
Sourcepub fn advance(&mut self) -> SbeResult<Option<usize>>
pub fn advance(&mut self) -> SbeResult<Option<usize>>
will return Some(current index) when successful otherwise None
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<'a, P> ActingVersion for OrdersDecoder<P>
impl<'a, P> ActingVersion for OrdersDecoder<P>
fn acting_version(&self) -> u16
Source§impl<P: Debug> Debug for OrdersDecoder<P>
impl<P: Debug> Debug for OrdersDecoder<P>
Source§impl<'a, P> Decoder<'a> for OrdersDecoder<P>
impl<'a, P> Decoder<'a> for OrdersDecoder<P>
Source§impl<P: Default> Default for OrdersDecoder<P>
impl<P: Default> Default for OrdersDecoder<P>
Source§fn default() -> OrdersDecoder<P>
fn default() -> OrdersDecoder<P>
Auto Trait Implementations§
impl<P> Freeze for OrdersDecoder<P>where
P: Freeze,
impl<P> RefUnwindSafe for OrdersDecoder<P>where
P: RefUnwindSafe,
impl<P> Send for OrdersDecoder<P>where
P: Send,
impl<P> Sync for OrdersDecoder<P>where
P: Sync,
impl<P> Unpin for OrdersDecoder<P>where
P: Unpin,
impl<P> UnsafeUnpin for OrdersDecoder<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for OrdersDecoder<P>where
P: UnwindSafe,
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
§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