pub struct BalanceUpdateEventDecoder<'a> {
pub acting_block_length: u16,
pub acting_version: u16,
/* private fields */
}Fields§
§acting_block_length: u16§acting_version: u16Implementations§
Source§impl<'a> BalanceUpdateEventDecoder<'a>
impl<'a> BalanceUpdateEventDecoder<'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 event_time(&self) -> i64
pub fn event_time(&self) -> i64
primitive field - ‘REQUIRED’
Sourcepub fn clear_time(&self) -> Option<i64>
pub fn clear_time(&self) -> Option<i64>
primitive field - ‘OPTIONAL’ { null_value: ‘-9223372036854775808_i64’ }
Sourcepub fn qty_exponent(&self) -> i8
pub fn qty_exponent(&self) -> i8
primitive field - ‘REQUIRED’
Sourcepub fn free_qty_delta(&self) -> i64
pub fn free_qty_delta(&self) -> i64
primitive field - ‘REQUIRED’
Sourcepub fn subscription_id(&self) -> Option<u16>
pub fn subscription_id(&self) -> Option<u16>
primitive field - ‘OPTIONAL’ { null_value: ‘0xffff_u16’ }
Sourcepub fn asset_decoder(&mut self) -> (usize, usize)
pub fn asset_decoder(&mut self) -> (usize, usize)
VAR_DATA DECODER - character encoding: ‘UTF-8’
pub fn asset_slice(&'a self, coordinates: (usize, usize)) -> &'a [u8] ⓘ
Trait Implementations§
Source§impl ActingVersion for BalanceUpdateEventDecoder<'_>
impl ActingVersion for BalanceUpdateEventDecoder<'_>
fn acting_version(&self) -> u16
Source§impl<'a> Clone for BalanceUpdateEventDecoder<'a>
impl<'a> Clone for BalanceUpdateEventDecoder<'a>
Source§fn clone(&self) -> BalanceUpdateEventDecoder<'a>
fn clone(&self) -> BalanceUpdateEventDecoder<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for BalanceUpdateEventDecoder<'a>
impl<'a> Debug for BalanceUpdateEventDecoder<'a>
Source§impl<'a> Decoder<'a> for BalanceUpdateEventDecoder<'a>
impl<'a> Decoder<'a> for BalanceUpdateEventDecoder<'a>
Source§impl<'a> Default for BalanceUpdateEventDecoder<'a>
impl<'a> Default for BalanceUpdateEventDecoder<'a>
Source§fn default() -> BalanceUpdateEventDecoder<'a>
fn default() -> BalanceUpdateEventDecoder<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> Reader<'a> for BalanceUpdateEventDecoder<'a>
impl<'a> Reader<'a> for BalanceUpdateEventDecoder<'a>
impl<'a> Copy for BalanceUpdateEventDecoder<'a>
Auto Trait Implementations§
impl<'a> Freeze for BalanceUpdateEventDecoder<'a>
impl<'a> RefUnwindSafe for BalanceUpdateEventDecoder<'a>
impl<'a> Send for BalanceUpdateEventDecoder<'a>
impl<'a> Sync for BalanceUpdateEventDecoder<'a>
impl<'a> Unpin for BalanceUpdateEventDecoder<'a>
impl<'a> UnsafeUnpin for BalanceUpdateEventDecoder<'a>
impl<'a> UnwindSafe for BalanceUpdateEventDecoder<'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
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>
§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