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_trader_id(self) -> Result<Builder<'a>>
pub fn set_trader_id(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_trader_id(self) -> Builder<'a>
pub fn has_trader_id(&self) -> bool
pub fn get_strategy_id(self) -> Result<Builder<'a>>
pub fn set_strategy_id(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_strategy_id(self) -> Builder<'a>
pub fn has_strategy_id(&self) -> bool
pub fn get_instrument_id(self) -> Result<Builder<'a>>
pub fn set_instrument_id(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_instrument_id(self) -> Builder<'a>
pub fn has_instrument_id(&self) -> bool
pub fn get_client_order_id(self) -> Result<Builder<'a>>
pub fn set_client_order_id(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_client_order_id(self) -> Builder<'a>
pub fn has_client_order_id(&self) -> bool
pub fn get_venue_order_id(self) -> Result<Builder<'a>>
pub fn set_venue_order_id(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_venue_order_id(self) -> Builder<'a>
pub fn has_venue_order_id(&self) -> bool
pub fn get_position_id(self) -> Result<Builder<'a>>
pub fn set_position_id(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_position_id(self) -> Builder<'a>
pub fn has_position_id(&self) -> bool
pub fn get_account_id(self) -> Result<Builder<'a>>
pub fn set_account_id(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_account_id(self) -> Builder<'a>
pub fn has_account_id(&self) -> bool
pub fn get_last_trade_id(self) -> Result<Builder<'a>>
pub fn set_last_trade_id(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_last_trade_id(self) -> Builder<'a>
pub fn has_last_trade_id(&self) -> bool
pub fn get_side(self) -> Result<OrderSide, NotInSchema>
pub fn set_side(&mut self, value: OrderSide)
pub fn get_order_type(self) -> Result<OrderType, NotInSchema>
pub fn set_order_type(&mut self, value: OrderType)
pub fn get_status(self) -> Result<OrderStatus, NotInSchema>
pub fn set_status(&mut self, value: OrderStatus)
pub fn get_quantity(self) -> Result<Builder<'a>>
pub fn set_quantity(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_quantity(self) -> Builder<'a>
pub fn has_quantity(&self) -> bool
pub fn get_filled_qty(self) -> Result<Builder<'a>>
pub fn set_filled_qty(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_filled_qty(self) -> Builder<'a>
pub fn has_filled_qty(&self) -> bool
pub fn get_leaves_qty(self) -> Result<Builder<'a>>
pub fn set_leaves_qty(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_leaves_qty(self) -> Builder<'a>
pub fn has_leaves_qty(&self) -> bool
pub fn get_time_in_force(self) -> Result<TimeInForce, NotInSchema>
pub fn set_time_in_force(&mut self, value: TimeInForce)
pub fn get_liquidity_side(self) -> Result<LiquiditySide, NotInSchema>
pub fn set_liquidity_side(&mut self, value: LiquiditySide)
pub fn get_price(self) -> Result<Builder<'a>>
pub fn set_price(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_price(self) -> Builder<'a>
pub fn has_price(&self) -> bool
pub fn get_trigger_price(self) -> Result<Builder<'a>>
pub fn set_trigger_price(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_trigger_price(self) -> Builder<'a>
pub fn has_trigger_price(&self) -> bool
pub fn get_avg_px(self) -> f64
pub fn set_avg_px(&mut self, value: f64)
pub fn get_slippage(self) -> f64
pub fn set_slippage(&mut self, value: f64)
pub fn get_is_reduce_only(self) -> bool
pub fn set_is_reduce_only(&mut self, value: bool)
pub fn get_is_quote_quantity(self) -> bool
pub fn set_is_quote_quantity(&mut self, value: bool)
pub fn get_expire_time(self) -> Result<Builder<'a>>
pub fn set_expire_time(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_expire_time(self) -> Builder<'a>
pub fn has_expire_time(&self) -> bool
pub fn get_display_qty(self) -> Result<Builder<'a>>
pub fn set_display_qty(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_display_qty(self) -> Builder<'a>
pub fn has_display_qty(&self) -> bool
pub fn get_emulation_trigger(self) -> Result<TriggerType, NotInSchema>
pub fn set_emulation_trigger(&mut self, value: TriggerType)
pub fn get_trigger_instrument_id(self) -> Result<Builder<'a>>
pub fn set_trigger_instrument_id(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_trigger_instrument_id(self) -> Builder<'a>
pub fn has_trigger_instrument_id(&self) -> bool
pub fn get_contingency_type(self) -> Result<ContingencyType, NotInSchema>
pub fn set_contingency_type(&mut self, value: ContingencyType)
pub fn get_order_list_id(self) -> Result<Builder<'a>>
pub fn set_order_list_id(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_order_list_id(self) -> Builder<'a>
pub fn has_order_list_id(&self) -> bool
pub fn get_linked_order_ids(self) -> Result<Builder<'a, Owned>>
pub fn set_linked_order_ids(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_linked_order_ids(self, size: u32) -> Builder<'a, Owned>
pub fn has_linked_order_ids(&self) -> bool
pub fn get_parent_order_id(self) -> Result<Builder<'a>>
pub fn set_parent_order_id(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_parent_order_id(self) -> Builder<'a>
pub fn has_parent_order_id(&self) -> bool
pub fn get_exec_algorithm_id(self) -> Result<Builder<'a>>
pub fn set_exec_algorithm_id(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_exec_algorithm_id(self) -> Builder<'a>
pub fn has_exec_algorithm_id(&self) -> bool
pub fn get_exec_algorithm_params(self) -> Result<Builder<'a>>
pub fn set_exec_algorithm_params(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_exec_algorithm_params(self) -> Builder<'a>
pub fn has_exec_algorithm_params(&self) -> bool
pub fn get_exec_spawn_id(self) -> Result<Builder<'a>>
pub fn set_exec_spawn_id(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_exec_spawn_id(self) -> Builder<'a>
pub fn has_exec_spawn_id(&self) -> bool
pub fn get_trailing_offset(self) -> Result<Builder<'a>>
pub fn set_trailing_offset(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_trailing_offset(self) -> Builder<'a>
pub fn has_trailing_offset(&self) -> bool
pub fn get_trailing_offset_type(self) -> Result<TrailingOffsetType, NotInSchema>
pub fn set_trailing_offset_type(&mut self, value: TrailingOffsetType)
pub fn get_limit_offset(self) -> Result<Builder<'a>>
pub fn set_limit_offset(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_limit_offset(self) -> Builder<'a>
pub fn has_limit_offset(&self) -> bool
pub fn get_trigger_type(self) -> Result<TriggerType, NotInSchema>
pub fn set_trigger_type(&mut self, value: TriggerType)
pub fn get_init_id(self) -> Result<Builder<'a>>
pub fn set_init_id(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_init_id(self) -> Builder<'a>
pub fn has_init_id(&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
pub fn get_ts_submitted(self) -> Result<Builder<'a>>
pub fn set_ts_submitted(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_ts_submitted(self) -> Builder<'a>
pub fn has_ts_submitted(&self) -> bool
pub fn get_ts_accepted(self) -> Result<Builder<'a>>
pub fn set_ts_accepted(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_ts_accepted(self) -> Builder<'a>
pub fn has_ts_accepted(&self) -> bool
pub fn get_ts_closed(self) -> Result<Builder<'a>>
pub fn set_ts_closed(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_ts_closed(self) -> Builder<'a>
pub fn has_ts_closed(&self) -> bool
pub fn get_ts_last(self) -> Result<Builder<'a>>
pub fn set_ts_last(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_ts_last(self) -> Builder<'a>
pub fn has_ts_last(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Builder<'a>
impl<'a> !RefUnwindSafe for Builder<'a>
impl<'a> !Send for Builder<'a>
impl<'a> !Sync for Builder<'a>
impl<'a> Unpin for Builder<'a>
impl<'a> !UnwindSafe 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
§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