pub struct PriceRangeExecutionRuleDecoder<'a> {
pub acting_block_length: u16,
pub acting_version: u16,
/* private fields */
}Fields§
§acting_block_length: u16§acting_version: u16Implementations§
Source§impl<'a> PriceRangeExecutionRuleDecoder<'a>
impl<'a> PriceRangeExecutionRuleDecoder<'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 rule_type(&self) -> ExecutionRuleType
pub fn rule_type(&self) -> ExecutionRuleType
CONSTANT enum
Sourcepub fn multiplier_exponent(&self) -> i8
pub fn multiplier_exponent(&self) -> i8
primitive field - ‘REQUIRED’
Sourcepub fn bid_limit_mult_up(&self) -> Option<i64>
pub fn bid_limit_mult_up(&self) -> Option<i64>
primitive field - ‘OPTIONAL’ { null_value: ‘-9223372036854775808_i64’ }
Sourcepub fn bid_limit_mult_down(&self) -> Option<i64>
pub fn bid_limit_mult_down(&self) -> Option<i64>
primitive field - ‘OPTIONAL’ { null_value: ‘-9223372036854775808_i64’ }
Sourcepub fn ask_limit_mult_up(&self) -> Option<i64>
pub fn ask_limit_mult_up(&self) -> Option<i64>
primitive field - ‘OPTIONAL’ { null_value: ‘-9223372036854775808_i64’ }
Sourcepub fn ask_limit_mult_down(&self) -> Option<i64>
pub fn ask_limit_mult_down(&self) -> Option<i64>
primitive field - ‘OPTIONAL’ { null_value: ‘-9223372036854775808_i64’ }
Trait Implementations§
Source§impl ActingVersion for PriceRangeExecutionRuleDecoder<'_>
impl ActingVersion for PriceRangeExecutionRuleDecoder<'_>
fn acting_version(&self) -> u16
Source§impl<'a> Clone for PriceRangeExecutionRuleDecoder<'a>
impl<'a> Clone for PriceRangeExecutionRuleDecoder<'a>
impl<'a> Copy for PriceRangeExecutionRuleDecoder<'a>
Source§impl<'a> Debug for PriceRangeExecutionRuleDecoder<'a>
impl<'a> Debug for PriceRangeExecutionRuleDecoder<'a>
Source§impl<'a> Decoder<'a> for PriceRangeExecutionRuleDecoder<'a>
impl<'a> Decoder<'a> for PriceRangeExecutionRuleDecoder<'a>
Source§impl<'a> Default for PriceRangeExecutionRuleDecoder<'a>
impl<'a> Default for PriceRangeExecutionRuleDecoder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PriceRangeExecutionRuleDecoder<'a>
impl<'a> RefUnwindSafe for PriceRangeExecutionRuleDecoder<'a>
impl<'a> Send for PriceRangeExecutionRuleDecoder<'a>
impl<'a> Sync for PriceRangeExecutionRuleDecoder<'a>
impl<'a> Unpin for PriceRangeExecutionRuleDecoder<'a>
impl<'a> UnsafeUnpin for PriceRangeExecutionRuleDecoder<'a>
impl<'a> UnwindSafe for PriceRangeExecutionRuleDecoder<'a>
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
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> ⓘ
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