Builder

pub struct Builder<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> Builder<'a>

Source

pub fn into_reader(self) -> Reader<'a>

Source

pub fn reborrow(&mut self) -> Builder<'_>

Source

pub fn reborrow_as_reader(&self) -> Reader<'_>

Source

pub fn total_size(&self) -> Result<MessageSize>

Source

pub fn get_trader_id(self) -> Result<Builder<'a>>

Source

pub fn set_trader_id(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_trader_id(self) -> Builder<'a>

Source

pub fn has_trader_id(&self) -> bool

Source

pub fn get_strategy_id(self) -> Result<Builder<'a>>

Source

pub fn set_strategy_id(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_strategy_id(self) -> Builder<'a>

Source

pub fn has_strategy_id(&self) -> bool

Source

pub fn get_instrument_id(self) -> Result<Builder<'a>>

Source

pub fn set_instrument_id(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_instrument_id(self) -> Builder<'a>

Source

pub fn has_instrument_id(&self) -> bool

Source

pub fn get_client_order_id(self) -> Result<Builder<'a>>

Source

pub fn set_client_order_id(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_client_order_id(self) -> Builder<'a>

Source

pub fn has_client_order_id(&self) -> bool

Source

pub fn get_order_side(self) -> Result<OrderSide, NotInSchema>

Source

pub fn set_order_side(&mut self, value: OrderSide)

Source

pub fn get_order_type(self) -> Result<OrderType, NotInSchema>

Source

pub fn set_order_type(&mut self, value: OrderType)

Source

pub fn get_quantity(self) -> Result<Builder<'a>>

Source

pub fn set_quantity(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_quantity(self) -> Builder<'a>

Source

pub fn has_quantity(&self) -> bool

Source

pub fn get_time_in_force(self) -> Result<TimeInForce, NotInSchema>

Source

pub fn set_time_in_force(&mut self, value: TimeInForce)

Source

pub fn get_post_only(self) -> bool

Source

pub fn set_post_only(&mut self, value: bool)

Source

pub fn get_reduce_only(self) -> bool

Source

pub fn set_reduce_only(&mut self, value: bool)

Source

pub fn get_quote_quantity(self) -> bool

Source

pub fn set_quote_quantity(&mut self, value: bool)

Source

pub fn get_reconciliation(self) -> bool

Source

pub fn set_reconciliation(&mut self, value: bool)

Source

pub fn get_event_id(self) -> Result<Builder<'a>>

Source

pub fn set_event_id(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_event_id(self) -> Builder<'a>

Source

pub fn has_event_id(&self) -> bool

Source

pub fn get_ts_event(self) -> Result<Builder<'a>>

Source

pub fn set_ts_event(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_ts_event(self) -> Builder<'a>

Source

pub fn has_ts_event(&self) -> bool

Source

pub fn get_ts_init(self) -> Result<Builder<'a>>

Source

pub fn set_ts_init(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_ts_init(self) -> Builder<'a>

Source

pub fn has_ts_init(&self) -> bool

Source

pub fn get_price(self) -> Result<Builder<'a>>

Source

pub fn set_price(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_price(self) -> Builder<'a>

Source

pub fn has_price(&self) -> bool

Source

pub fn get_trigger_price(self) -> Result<Builder<'a>>

Source

pub fn set_trigger_price(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_trigger_price(self) -> Builder<'a>

Source

pub fn has_trigger_price(&self) -> bool

Source

pub fn get_trigger_type(self) -> Result<TriggerType, NotInSchema>

Source

pub fn set_trigger_type(&mut self, value: TriggerType)

Source

pub fn get_limit_offset(self) -> Result<Builder<'a>>

Source

pub fn set_limit_offset(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_limit_offset(self) -> Builder<'a>

Source

pub fn has_limit_offset(&self) -> bool

Source

pub fn get_trailing_offset(self) -> Result<Builder<'a>>

Source

pub fn set_trailing_offset(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_trailing_offset(self) -> Builder<'a>

Source

pub fn has_trailing_offset(&self) -> bool

Source

pub fn get_trailing_offset_type(self) -> Result<TrailingOffsetType, NotInSchema>

Source

pub fn set_trailing_offset_type(&mut self, value: TrailingOffsetType)

Source

pub fn get_expire_time(self) -> Result<Builder<'a>>

Source

pub fn set_expire_time(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_expire_time(self) -> Builder<'a>

Source

pub fn has_expire_time(&self) -> bool

Source

pub fn get_display_qty(self) -> Result<Builder<'a>>

Source

pub fn set_display_qty(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_display_qty(self) -> Builder<'a>

Source

pub fn has_display_qty(&self) -> bool

Source

pub fn get_emulation_trigger(self) -> Result<TriggerType, NotInSchema>

Source

pub fn set_emulation_trigger(&mut self, value: TriggerType)

Source

pub fn get_trigger_instrument_id(self) -> Result<Builder<'a>>

Source

pub fn set_trigger_instrument_id(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_trigger_instrument_id(self) -> Builder<'a>

Source

pub fn has_trigger_instrument_id(&self) -> bool

Source

pub fn get_contingency_type(self) -> Result<ContingencyType, NotInSchema>

Source

pub fn set_contingency_type(&mut self, value: ContingencyType)

Source

pub fn get_order_list_id(self) -> Result<Builder<'a>>

Source

pub fn set_order_list_id(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_order_list_id(self) -> Builder<'a>

Source

pub fn has_order_list_id(&self) -> bool

Source

pub fn get_linked_order_ids(self) -> Result<Builder<'a, Owned>>

Source

pub fn set_linked_order_ids(&mut self, value: Reader<'_, Owned>) -> Result<()>

Source

pub fn init_linked_order_ids(self, size: u32) -> Builder<'a, Owned>

Source

pub fn has_linked_order_ids(&self) -> bool

Source

pub fn get_parent_order_id(self) -> Result<Builder<'a>>

Source

pub fn set_parent_order_id(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_parent_order_id(self) -> Builder<'a>

Source

pub fn has_parent_order_id(&self) -> bool

Source

pub fn get_exec_algorithm_id(self) -> Result<Builder<'a>>

Source

pub fn set_exec_algorithm_id(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_exec_algorithm_id(self) -> Builder<'a>

Source

pub fn has_exec_algorithm_id(&self) -> bool

Source

pub fn get_exec_algorithm_params(self) -> Result<Builder<'a>>

Source

pub fn set_exec_algorithm_params(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_exec_algorithm_params(self) -> Builder<'a>

Source

pub fn has_exec_algorithm_params(&self) -> bool

Source

pub fn get_exec_spawn_id(self) -> Result<Builder<'a>>

Source

pub fn set_exec_spawn_id(&mut self, value: Reader<'_>) -> Result<()>

Source

pub fn init_exec_spawn_id(self) -> Builder<'a>

Source

pub fn has_exec_spawn_id(&self) -> bool

Source

pub fn get_tags(self) -> Result<Builder<'a>>

Source

pub fn set_tags(&mut self, value: impl SetterInput<Owned>) -> Result<()>

Source

pub fn init_tags(self, size: u32) -> Builder<'a>

Source

pub fn has_tags(&self) -> bool

Trait Implementations§

Source§

impl<'a> From<Builder<'a>> for Builder<'a>

Source§

fn from(builder: Builder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<StructBuilder<'a>> for Builder<'a>

Source§

fn from(builder: StructBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> FromPointerBuilder<'a> for Builder<'a>

Source§

fn init_pointer(builder: PointerBuilder<'a>, _size: u32) -> Self

Source§

fn get_from_pointer( builder: PointerBuilder<'a>, default: Option<&'a [Word]>, ) -> Result<Self>

Source§

impl HasStructSize for Builder<'_>

Source§

const STRUCT_SIZE: StructSize

Source§

impl HasTypeId for Builder<'_>

Source§

const TYPE_ID: u64 = 17_322_433_069_691_173_684u64

Source§

impl<'a> ImbueMut<'a> for Builder<'a>

Source§

fn imbue_mut(&mut self, cap_table: &'a mut CapTable)

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more