pub struct PreventedMatchesEncoder<P> { /* private fields */ }Implementations§
Source§impl<'a, P> PreventedMatchesEncoder<P>
impl<'a, P> PreventedMatchesEncoder<P>
pub fn wrap(self, parent: P, count: u32) -> Self
pub fn block_length() -> u16
pub fn parent(&mut self) -> SbeResult<P>
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(&mut self, value: i8)
pub fn price_exponent(&mut self, value: i8)
primitive field ‘priceExponent’
- min value: -127
- max value: 127
- null value: -128_i8
- characterEncoding: null
- semanticType: null
- encodedOffset: 0
- encodedLength: 1
- version: 0
Sourcepub fn qty_exponent(&mut self, value: i8)
pub fn qty_exponent(&mut self, value: i8)
primitive field ‘qtyExponent’
- min value: -127
- max value: 127
- null value: -128_i8
- characterEncoding: null
- semanticType: null
- encodedOffset: 1
- encodedLength: 1
- version: 0
Sourcepub fn prevented_match_id(&mut self, value: i64)
pub fn prevented_match_id(&mut self, value: i64)
primitive field ‘preventedMatchId’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 2
- encodedLength: 8
- version: 0
Sourcepub fn taker_order_id(&mut self, value: i64)
pub fn taker_order_id(&mut self, value: i64)
primitive field ‘takerOrderId’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 10
- encodedLength: 8
- version: 0
Sourcepub fn maker_order_id(&mut self, value: i64)
pub fn maker_order_id(&mut self, value: i64)
primitive field ‘makerOrderId’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 18
- encodedLength: 8
- version: 0
Sourcepub fn trade_group_id(&mut self, value: i64)
pub fn trade_group_id(&mut self, value: i64)
primitive field ‘tradeGroupId’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 26
- encodedLength: 8
- version: 0
Sourcepub fn self_trade_prevention_mode(&mut self, value: SelfTradePreventionMode)
pub fn self_trade_prevention_mode(&mut self, value: SelfTradePreventionMode)
REQUIRED enum
Sourcepub fn price(&mut self, value: i64)
pub fn price(&mut self, value: i64)
primitive field ‘price’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 35
- encodedLength: 8
- version: 0
Sourcepub fn taker_prevented_quantity(&mut self, value: i64)
pub fn taker_prevented_quantity(&mut self, value: i64)
primitive field ‘takerPreventedQuantity’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 43
- encodedLength: 8
- version: 0
Sourcepub fn maker_prevented_quantity(&mut self, value: i64)
pub fn maker_prevented_quantity(&mut self, value: i64)
primitive field ‘makerPreventedQuantity’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 51
- encodedLength: 8
- version: 0
Sourcepub fn transact_time(&mut self, value: i64)
pub fn transact_time(&mut self, value: i64)
primitive field ‘transactTime’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 59
- encodedLength: 8
- version: 0
Sourcepub fn maker_symbol(&mut self, value: &str)
pub fn maker_symbol(&mut self, value: &str)
VAR_DATA ENCODER - character encoding: ‘UTF-8’
Trait Implementations§
Source§impl<P: Debug> Debug for PreventedMatchesEncoder<P>
impl<P: Debug> Debug for PreventedMatchesEncoder<P>
Source§impl<P: Default> Default for PreventedMatchesEncoder<P>
impl<P: Default> Default for PreventedMatchesEncoder<P>
Source§impl<'a, P> Encoder<'a> for PreventedMatchesEncoder<P>
impl<'a, P> Encoder<'a> for PreventedMatchesEncoder<P>
Source§impl<'a, P> Writer<'a> for PreventedMatchesEncoder<P>
impl<'a, P> Writer<'a> for PreventedMatchesEncoder<P>
fn get_buf_mut(&mut self) -> &mut WriteBuf<'a>
Auto Trait Implementations§
impl<P> Freeze for PreventedMatchesEncoder<P>
impl<P> RefUnwindSafe for PreventedMatchesEncoder<P>where
Option<P>: RefUnwindSafe,
impl<P> Send for PreventedMatchesEncoder<P>
impl<P> Sync for PreventedMatchesEncoder<P>
impl<P> Unpin for PreventedMatchesEncoder<P>
impl<P> UnsafeUnpin for PreventedMatchesEncoder<P>where
Option<P>: UnsafeUnpin,
impl<P> UnwindSafe for PreventedMatchesEncoder<P>where
Option<P>: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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> ⓘ
Converts
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> ⓘ
Converts
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