pub struct BalanceUpdateEventEncoder<'a> { /* private fields */ }Implementations§
Source§impl<'a> BalanceUpdateEventEncoder<'a>
impl<'a> BalanceUpdateEventEncoder<'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 event_time(&mut self, value: i64)
pub fn event_time(&mut self, value: i64)
primitive field ‘eventTime’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 0
- encodedLength: 8
- version: 0
Sourcepub fn clear_time(&mut self, value: i64)
pub fn clear_time(&mut self, value: i64)
primitive field ‘clearTime’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 8
- encodedLength: 8
- 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: 16
- encodedLength: 1
- version: 0
Sourcepub fn free_qty_delta(&mut self, value: i64)
pub fn free_qty_delta(&mut self, value: i64)
primitive field ‘freeQtyDelta’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 17
- encodedLength: 8
- version: 0
Sourcepub fn subscription_id(&mut self, value: u16)
pub fn subscription_id(&mut self, value: u16)
primitive field ‘subscriptionId’
- min value: 0
- max value: 65534
- null value: 0xffff_u16
- characterEncoding: null
- semanticType: null
- encodedOffset: 25
- encodedLength: 2
- version: 1
Trait Implementations§
Source§impl<'a> Debug for BalanceUpdateEventEncoder<'a>
impl<'a> Debug for BalanceUpdateEventEncoder<'a>
Source§impl<'a> Default for BalanceUpdateEventEncoder<'a>
impl<'a> Default for BalanceUpdateEventEncoder<'a>
Source§fn default() -> BalanceUpdateEventEncoder<'a>
fn default() -> BalanceUpdateEventEncoder<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> Encoder<'a> for BalanceUpdateEventEncoder<'a>
impl<'a> Encoder<'a> for BalanceUpdateEventEncoder<'a>
Source§impl<'a> Writer<'a> for BalanceUpdateEventEncoder<'a>
impl<'a> Writer<'a> for BalanceUpdateEventEncoder<'a>
fn get_buf_mut(&mut self) -> &mut WriteBuf<'a>
Auto Trait Implementations§
impl<'a> Freeze for BalanceUpdateEventEncoder<'a>
impl<'a> RefUnwindSafe for BalanceUpdateEventEncoder<'a>
impl<'a> Send for BalanceUpdateEventEncoder<'a>
impl<'a> Sync for BalanceUpdateEventEncoder<'a>
impl<'a> Unpin for BalanceUpdateEventEncoder<'a>
impl<'a> UnsafeUnpin for BalanceUpdateEventEncoder<'a>
impl<'a> !UnwindSafe for BalanceUpdateEventEncoder<'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