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_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_opening_order_id(self) -> Result<Builder<'a>>
pub fn set_opening_order_id(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_opening_order_id(self) -> Builder<'a>
pub fn has_opening_order_id(&self) -> bool
pub fn get_entry(self) -> Result<OrderSide, NotInSchema>
pub fn set_entry(&mut self, value: OrderSide)
pub fn get_side(self) -> Result<PositionSide, NotInSchema>
pub fn set_side(&mut self, value: PositionSide)
pub fn get_signed_qty(self) -> f64
pub fn set_signed_qty(&mut self, value: f64)
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_last_qty(self) -> Result<Builder<'a>>
pub fn set_last_qty(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_last_qty(self) -> Builder<'a>
pub fn has_last_qty(&self) -> bool
pub fn get_last_px(self) -> Result<Builder<'a>>
pub fn set_last_px(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_last_px(self) -> Builder<'a>
pub fn has_last_px(&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_avg_px_open(self) -> f64
pub fn set_avg_px_open(&mut self, value: f64)
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
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