pub struct DepthResponseEncoder<'a> { /* private fields */ }Implementations§
Source§impl<'a> DepthResponseEncoder<'a>
impl<'a> DepthResponseEncoder<'a>
pub fn wrap(self, buf: WriteBuf<'a>, offset: usize) -> Self
pub fn encoded_length(&self) -> usize
pub fn header(self, offset: usize) -> MessageHeaderEncoder<Self>
Sourcepub fn last_update_id(&mut self, value: i64)
pub fn last_update_id(&mut self, value: i64)
primitive field ‘lastUpdateId’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 0
- encodedLength: 8
- version: 0
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: 8
- 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: 9
- encodedLength: 1
- version: 0
Sourcepub fn bids_encoder(
self,
count: u32,
bids_encoder: BidsEncoder<Self>,
) -> BidsEncoder<Self>
pub fn bids_encoder( self, count: u32, bids_encoder: BidsEncoder<Self>, ) -> BidsEncoder<Self>
GROUP ENCODER (id=100)
Sourcepub fn asks_encoder(
self,
count: u32,
asks_encoder: AsksEncoder<Self>,
) -> AsksEncoder<Self>
pub fn asks_encoder( self, count: u32, asks_encoder: AsksEncoder<Self>, ) -> AsksEncoder<Self>
GROUP ENCODER (id=101)
Trait Implementations§
Source§impl<'a> Debug for DepthResponseEncoder<'a>
impl<'a> Debug for DepthResponseEncoder<'a>
Source§impl<'a> Default for DepthResponseEncoder<'a>
impl<'a> Default for DepthResponseEncoder<'a>
Source§fn default() -> DepthResponseEncoder<'a>
fn default() -> DepthResponseEncoder<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> Encoder<'a> for DepthResponseEncoder<'a>
impl<'a> Encoder<'a> for DepthResponseEncoder<'a>
Source§impl<'a> Writer<'a> for DepthResponseEncoder<'a>
impl<'a> Writer<'a> for DepthResponseEncoder<'a>
fn get_buf_mut(&mut self) -> &mut WriteBuf<'a>
Auto Trait Implementations§
impl<'a> Freeze for DepthResponseEncoder<'a>
impl<'a> RefUnwindSafe for DepthResponseEncoder<'a>
impl<'a> Send for DepthResponseEncoder<'a>
impl<'a> Sync for DepthResponseEncoder<'a>
impl<'a> Unpin for DepthResponseEncoder<'a>
impl<'a> UnsafeUnpin for DepthResponseEncoder<'a>
impl<'a> !UnwindSafe for DepthResponseEncoder<'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
Mutably borrows from an owned value. Read more
§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>
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