pub struct OutboundAccountPositionEventEncoder<'a> { /* private fields */ }Implementations§
Source§impl<'a> OutboundAccountPositionEventEncoder<'a>
impl<'a> OutboundAccountPositionEventEncoder<'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 update_time(&mut self, value: i64)
pub fn update_time(&mut self, value: i64)
primitive field ‘updateTime’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 8
- 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: 16
- encodedLength: 2
- version: 1
Sourcepub fn balances_encoder(
self,
count: u32,
balances_encoder: BalancesEncoder<Self>,
) -> BalancesEncoder<Self>
pub fn balances_encoder( self, count: u32, balances_encoder: BalancesEncoder<Self>, ) -> BalancesEncoder<Self>
GROUP ENCODER (id=100)
Trait Implementations§
Source§impl<'a> Debug for OutboundAccountPositionEventEncoder<'a>
impl<'a> Debug for OutboundAccountPositionEventEncoder<'a>
Source§impl<'a> Default for OutboundAccountPositionEventEncoder<'a>
impl<'a> Default for OutboundAccountPositionEventEncoder<'a>
Source§impl<'a> Encoder<'a> for OutboundAccountPositionEventEncoder<'a>
impl<'a> Encoder<'a> for OutboundAccountPositionEventEncoder<'a>
Source§impl<'a> Writer<'a> for OutboundAccountPositionEventEncoder<'a>
impl<'a> Writer<'a> for OutboundAccountPositionEventEncoder<'a>
fn get_buf_mut(&mut self) -> &mut WriteBuf<'a>
Auto Trait Implementations§
impl<'a> !UnwindSafe for OutboundAccountPositionEventEncoder<'a>
impl<'a> Freeze for OutboundAccountPositionEventEncoder<'a>
impl<'a> RefUnwindSafe for OutboundAccountPositionEventEncoder<'a>
impl<'a> Send for OutboundAccountPositionEventEncoder<'a>
impl<'a> Sync for OutboundAccountPositionEventEncoder<'a>
impl<'a> Unpin for OutboundAccountPositionEventEncoder<'a>
impl<'a> UnsafeUnpin for OutboundAccountPositionEventEncoder<'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
§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