pub struct Builder<'a> { /* private fields */ }Implementations§
Source§impl<'a> Builder<'a>
impl<'a> Builder<'a>
pub fn into_reader(self) -> Reader<'a>
pub fn reborrow(&mut self) -> Builder<'_>
pub fn reborrow_as_reader(&self) -> Reader<'_>
pub fn total_size(&self) -> Result<MessageSize>
pub fn get_id(self) -> Result<Builder<'a>>
pub fn set_id(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_id(self) -> Builder<'a>
pub fn has_id(&self) -> bool
pub fn get_raw_symbol(self) -> Result<Builder<'a>>
pub fn set_raw_symbol(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_raw_symbol(self) -> Builder<'a>
pub fn has_raw_symbol(&self) -> bool
pub fn get_asset_class(self) -> Result<AssetClass, NotInSchema>
pub fn set_asset_class(&mut self, value: AssetClass)
pub fn get_exchange(self) -> Result<Builder<'a>>
pub fn set_exchange(&mut self, value: impl SetterInput<Owned>)
pub fn init_exchange(self, size: u32) -> Builder<'a>
pub fn has_exchange(&self) -> bool
pub fn get_underlying(self) -> Result<Builder<'a>>
pub fn set_underlying(&mut self, value: impl SetterInput<Owned>)
pub fn init_underlying(self, size: u32) -> Builder<'a>
pub fn has_underlying(&self) -> bool
pub fn get_strategy_type(self) -> Result<Builder<'a>>
pub fn set_strategy_type(&mut self, value: impl SetterInput<Owned>)
pub fn init_strategy_type(self, size: u32) -> Builder<'a>
pub fn has_strategy_type(&self) -> bool
pub fn get_activation_ns(self) -> Result<Builder<'a>>
pub fn set_activation_ns(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_activation_ns(self) -> Builder<'a>
pub fn has_activation_ns(&self) -> bool
pub fn get_expiration_ns(self) -> Result<Builder<'a>>
pub fn set_expiration_ns(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_expiration_ns(self) -> Builder<'a>
pub fn has_expiration_ns(&self) -> bool
pub fn get_currency(self) -> Result<Builder<'a>>
pub fn set_currency(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_currency(self) -> Builder<'a>
pub fn has_currency(&self) -> bool
pub fn get_price_precision(self) -> u8
pub fn set_price_precision(&mut self, value: u8)
pub fn get_price_increment(self) -> Result<Builder<'a>>
pub fn set_price_increment(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_price_increment(self) -> Builder<'a>
pub fn has_price_increment(&self) -> bool
pub fn get_size_increment(self) -> Result<Builder<'a>>
pub fn set_size_increment(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_size_increment(self) -> Builder<'a>
pub fn has_size_increment(&self) -> bool
pub fn get_size_precision(self) -> u8
pub fn set_size_precision(&mut self, value: u8)
pub fn get_multiplier(self) -> Result<Builder<'a>>
pub fn set_multiplier(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_multiplier(self) -> Builder<'a>
pub fn has_multiplier(&self) -> bool
pub fn get_lot_size(self) -> Result<Builder<'a>>
pub fn set_lot_size(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_lot_size(self) -> Builder<'a>
pub fn has_lot_size(&self) -> bool
pub fn get_margin_init(self) -> Result<Builder<'a>>
pub fn set_margin_init(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_margin_init(self) -> Builder<'a>
pub fn has_margin_init(&self) -> bool
pub fn get_margin_maint(self) -> Result<Builder<'a>>
pub fn set_margin_maint(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_margin_maint(self) -> Builder<'a>
pub fn has_margin_maint(&self) -> bool
pub fn get_maker_fee(self) -> Result<Builder<'a>>
pub fn set_maker_fee(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_maker_fee(self) -> Builder<'a>
pub fn has_maker_fee(&self) -> bool
pub fn get_taker_fee(self) -> Result<Builder<'a>>
pub fn set_taker_fee(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_taker_fee(self) -> Builder<'a>
pub fn has_taker_fee(&self) -> bool
pub fn get_max_quantity(self) -> Result<Builder<'a>>
pub fn set_max_quantity(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_max_quantity(self) -> Builder<'a>
pub fn has_max_quantity(&self) -> bool
pub fn get_min_quantity(self) -> Result<Builder<'a>>
pub fn set_min_quantity(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_min_quantity(self) -> Builder<'a>
pub fn has_min_quantity(&self) -> bool
pub fn get_max_price(self) -> Result<Builder<'a>>
pub fn set_max_price(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_max_price(self) -> Builder<'a>
pub fn has_max_price(&self) -> bool
pub fn get_min_price(self) -> Result<Builder<'a>>
pub fn set_min_price(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_min_price(self) -> Builder<'a>
pub fn has_min_price(&self) -> bool
pub fn get_tick_scheme(self) -> Result<Builder<'a>>
pub fn set_tick_scheme(&mut self, value: impl SetterInput<Owned>)
pub fn init_tick_scheme(self, size: u32) -> Builder<'a>
pub fn has_tick_scheme(&self) -> bool
pub fn get_info(self) -> Result<Builder<'a>>
pub fn set_info(&mut self, value: Reader<'_>)
pub fn init_info(self, size: u32) -> Builder<'a>
pub fn has_info(&self) -> bool
pub fn get_ts_event(self) -> Result<Builder<'a>>
pub fn set_ts_event(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_ts_event(self) -> Builder<'a>
pub fn has_ts_event(&self) -> bool
pub fn get_ts_init(self) -> Result<Builder<'a>>
pub fn set_ts_init(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_ts_init(self) -> Builder<'a>
pub fn has_ts_init(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Builder<'a>
impl<'a> !Send for Builder<'a>
impl<'a> !Sync for Builder<'a>
impl<'a> !UnwindSafe for Builder<'a>
impl<'a> Freeze for Builder<'a>
impl<'a> Unpin for Builder<'a>
impl<'a> UnsafeUnpin for Builder<'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