pub struct AccountCommissionResponseEncoder<'a> { /* private fields */ }Implementations§
Source§impl<'a> AccountCommissionResponseEncoder<'a>
impl<'a> AccountCommissionResponseEncoder<'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 commission_exponent(&mut self, value: i8)
pub fn commission_exponent(&mut self, value: i8)
primitive field ‘commissionExponent’
- min value: -127
- max value: 127
- null value: -128_i8
- characterEncoding: null
- semanticType: null
- encodedOffset: 0
- encodedLength: 1
- version: 0
Sourcepub fn discount_exponent(&mut self, value: i8)
pub fn discount_exponent(&mut self, value: i8)
primitive field ‘discountExponent’
- min value: -127
- max value: 127
- null value: -128_i8
- characterEncoding: null
- semanticType: null
- encodedOffset: 1
- encodedLength: 1
- version: 0
Sourcepub fn standard_commission_maker(&mut self, value: i64)
pub fn standard_commission_maker(&mut self, value: i64)
primitive field ‘standardCommissionMaker’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 2
- encodedLength: 8
- version: 0
Sourcepub fn standard_commission_taker(&mut self, value: i64)
pub fn standard_commission_taker(&mut self, value: i64)
primitive field ‘standardCommissionTaker’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 10
- encodedLength: 8
- version: 0
Sourcepub fn standard_commission_buyer(&mut self, value: i64)
pub fn standard_commission_buyer(&mut self, value: i64)
primitive field ‘standardCommissionBuyer’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 18
- encodedLength: 8
- version: 0
Sourcepub fn standard_commission_seller(&mut self, value: i64)
pub fn standard_commission_seller(&mut self, value: i64)
primitive field ‘standardCommissionSeller’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 26
- encodedLength: 8
- version: 0
Sourcepub fn tax_commission_maker(&mut self, value: i64)
pub fn tax_commission_maker(&mut self, value: i64)
primitive field ‘taxCommissionMaker’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 34
- encodedLength: 8
- version: 0
Sourcepub fn tax_commission_taker(&mut self, value: i64)
pub fn tax_commission_taker(&mut self, value: i64)
primitive field ‘taxCommissionTaker’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 42
- encodedLength: 8
- version: 0
Sourcepub fn tax_commission_buyer(&mut self, value: i64)
pub fn tax_commission_buyer(&mut self, value: i64)
primitive field ‘taxCommissionBuyer’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 50
- encodedLength: 8
- version: 0
Sourcepub fn tax_commission_seller(&mut self, value: i64)
pub fn tax_commission_seller(&mut self, value: i64)
primitive field ‘taxCommissionSeller’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 58
- encodedLength: 8
- version: 0
Sourcepub fn discount_enabled_for_account(&mut self, value: BoolEnum)
pub fn discount_enabled_for_account(&mut self, value: BoolEnum)
REQUIRED enum
Sourcepub fn discount_enabled_for_symbol(&mut self, value: BoolEnum)
pub fn discount_enabled_for_symbol(&mut self, value: BoolEnum)
REQUIRED enum
Sourcepub fn discount(&mut self, value: i64)
pub fn discount(&mut self, value: i64)
primitive field ‘discount’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 68
- encodedLength: 8
- version: 0
Sourcepub fn special_commission_maker(&mut self, value: i64)
pub fn special_commission_maker(&mut self, value: i64)
primitive field ‘specialCommissionMaker’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 76
- encodedLength: 8
- version: 1
Sourcepub fn special_commission_taker(&mut self, value: i64)
pub fn special_commission_taker(&mut self, value: i64)
primitive field ‘specialCommissionTaker’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 84
- encodedLength: 8
- version: 1
Sourcepub fn special_commission_buyer(&mut self, value: i64)
pub fn special_commission_buyer(&mut self, value: i64)
primitive field ‘specialCommissionBuyer’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 92
- encodedLength: 8
- version: 1
Sourcepub fn special_commission_seller(&mut self, value: i64)
pub fn special_commission_seller(&mut self, value: i64)
primitive field ‘specialCommissionSeller’
- min value: -9223372036854775807
- max value: 9223372036854775807
- null value: -9223372036854775808_i64
- characterEncoding: null
- semanticType: null
- encodedOffset: 100
- encodedLength: 8
- version: 1
Sourcepub fn discount_asset(&mut self, value: &str)
pub fn discount_asset(&mut self, value: &str)
VAR_DATA ENCODER - character encoding: ‘UTF-8’
Trait Implementations§
Source§impl<'a> Debug for AccountCommissionResponseEncoder<'a>
impl<'a> Debug for AccountCommissionResponseEncoder<'a>
Source§impl<'a> Default for AccountCommissionResponseEncoder<'a>
impl<'a> Default for AccountCommissionResponseEncoder<'a>
Source§fn default() -> AccountCommissionResponseEncoder<'a>
fn default() -> AccountCommissionResponseEncoder<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> Encoder<'a> for AccountCommissionResponseEncoder<'a>
impl<'a> Encoder<'a> for AccountCommissionResponseEncoder<'a>
Source§impl<'a> Writer<'a> for AccountCommissionResponseEncoder<'a>
impl<'a> Writer<'a> for AccountCommissionResponseEncoder<'a>
fn get_buf_mut(&mut self) -> &mut WriteBuf<'a>
Auto Trait Implementations§
impl<'a> Freeze for AccountCommissionResponseEncoder<'a>
impl<'a> RefUnwindSafe for AccountCommissionResponseEncoder<'a>
impl<'a> Send for AccountCommissionResponseEncoder<'a>
impl<'a> Sync for AccountCommissionResponseEncoder<'a>
impl<'a> Unpin for AccountCommissionResponseEncoder<'a>
impl<'a> UnsafeUnpin for AccountCommissionResponseEncoder<'a>
impl<'a> !UnwindSafe for AccountCommissionResponseEncoder<'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