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_order_side(self) -> Result<OrderSide, NotInSchema>
pub fn set_order_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_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_time_in_force(self) -> Result<TimeInForce, NotInSchema>
pub fn set_time_in_force(&mut self, value: TimeInForce)
pub fn get_post_only(self) -> bool
pub fn set_post_only(&mut self, value: bool)
pub fn get_reduce_only(self) -> bool
pub fn set_reduce_only(&mut self, value: bool)
pub fn get_quote_quantity(self) -> bool
pub fn set_quote_quantity(&mut self, value: bool)
pub fn get_reconciliation(self) -> bool
pub fn set_reconciliation(&mut self, value: bool)
pub fn get_event_id(self) -> Result<Builder<'a>>
pub fn set_event_id(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_event_id(self) -> Builder<'a>
pub fn has_event_id(&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
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_trigger_type(self) -> Result<TriggerType, NotInSchema>
pub fn set_trigger_type(&mut self, value: TriggerType)
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_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_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
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