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_event_type_id(self) -> u64
pub fn set_event_type_id(&mut self, value: u64)
pub fn get_event_type_name(self) -> Result<Builder<'a>>
pub fn set_event_type_name(&mut self, value: impl SetterInput<Owned>)
pub fn init_event_type_name(self, size: u32) -> Builder<'a>
pub fn has_event_type_name(&self) -> bool
pub fn get_competition_id(self) -> u64
pub fn set_competition_id(&mut self, value: u64)
pub fn get_competition_name(self) -> Result<Builder<'a>>
pub fn set_competition_name(&mut self, value: impl SetterInput<Owned>)
pub fn init_competition_name(self, size: u32) -> Builder<'a>
pub fn has_competition_name(&self) -> bool
pub fn get_event_id(self) -> u64
pub fn set_event_id(&mut self, value: u64)
pub fn get_event_name(self) -> Result<Builder<'a>>
pub fn set_event_name(&mut self, value: impl SetterInput<Owned>)
pub fn init_event_name(self, size: u32) -> Builder<'a>
pub fn has_event_name(&self) -> bool
pub fn get_event_country_code(self) -> Result<Builder<'a>>
pub fn set_event_country_code(&mut self, value: impl SetterInput<Owned>)
pub fn init_event_country_code(self, size: u32) -> Builder<'a>
pub fn has_event_country_code(&self) -> bool
pub fn get_event_open_date(self) -> Result<Builder<'a>>
pub fn set_event_open_date(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_event_open_date(self) -> Builder<'a>
pub fn has_event_open_date(&self) -> bool
pub fn get_betting_type(self) -> Result<Builder<'a>>
pub fn set_betting_type(&mut self, value: impl SetterInput<Owned>)
pub fn init_betting_type(self, size: u32) -> Builder<'a>
pub fn has_betting_type(&self) -> bool
pub fn get_market_id(self) -> Result<Builder<'a>>
pub fn set_market_id(&mut self, value: impl SetterInput<Owned>)
pub fn init_market_id(self, size: u32) -> Builder<'a>
pub fn has_market_id(&self) -> bool
pub fn get_market_name(self) -> Result<Builder<'a>>
pub fn set_market_name(&mut self, value: impl SetterInput<Owned>)
pub fn init_market_name(self, size: u32) -> Builder<'a>
pub fn has_market_name(&self) -> bool
pub fn get_market_type(self) -> Result<Builder<'a>>
pub fn set_market_type(&mut self, value: impl SetterInput<Owned>)
pub fn init_market_type(self, size: u32) -> Builder<'a>
pub fn has_market_type(&self) -> bool
pub fn get_market_start_time(self) -> Result<Builder<'a>>
pub fn set_market_start_time(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_market_start_time(self) -> Builder<'a>
pub fn has_market_start_time(&self) -> bool
pub fn get_selection_id(self) -> u64
pub fn set_selection_id(&mut self, value: u64)
pub fn get_selection_name(self) -> Result<Builder<'a>>
pub fn set_selection_name(&mut self, value: impl SetterInput<Owned>)
pub fn init_selection_name(self, size: u32) -> Builder<'a>
pub fn has_selection_name(&self) -> bool
pub fn get_selection_handicap(self) -> f64
pub fn set_selection_handicap(&mut self, value: f64)
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_size_precision(self) -> u8
pub fn set_size_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_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_notional(self) -> Result<Builder<'a>>
pub fn set_max_notional(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_max_notional(self) -> Builder<'a>
pub fn has_max_notional(&self) -> bool
pub fn get_min_notional(self) -> Result<Builder<'a>>
pub fn set_min_notional(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_min_notional(self) -> Builder<'a>
pub fn has_min_notional(&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