pub struct BatchModifyOrdersBuilder { /* private fields */ }Expand description
Builder for BatchModifyOrders.
Implementations§
Source§impl BatchModifyOrdersBuilder
impl BatchModifyOrdersBuilder
pub fn trader_id(&mut self, value: TraderId) -> &mut Self
pub fn client_id(&mut self, value: Option<ClientId>) -> &mut Self
pub fn strategy_id(&mut self, value: StrategyId) -> &mut Self
pub fn instrument_id(&mut self, value: InstrumentId) -> &mut Self
pub fn modifies(&mut self, value: Vec<ModifyOrder>) -> &mut Self
pub fn command_id(&mut self, value: UUID4) -> &mut Self
pub fn ts_init(&mut self, value: UnixNanos) -> &mut Self
pub fn params(&mut self, value: Option<Params>) -> &mut Self
pub fn correlation_id(&mut self, value: Option<UUID4>) -> &mut Self
pub fn causation_id(&mut self, value: Option<UUID4>) -> &mut Self
Sourcepub fn build(&self) -> Result<BatchModifyOrders, BatchModifyOrdersBuilderError>
pub fn build(&self) -> Result<BatchModifyOrders, BatchModifyOrdersBuilderError>
Trait Implementations§
Source§impl Clone for BatchModifyOrdersBuilder
impl Clone for BatchModifyOrdersBuilder
Source§fn clone(&self) -> BatchModifyOrdersBuilder
fn clone(&self) -> BatchModifyOrdersBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BatchModifyOrdersBuilder
impl RefUnwindSafe for BatchModifyOrdersBuilder
impl Send for BatchModifyOrdersBuilder
impl Sync for BatchModifyOrdersBuilder
impl Unpin for BatchModifyOrdersBuilder
impl UnsafeUnpin for BatchModifyOrdersBuilder
impl UnwindSafe for BatchModifyOrdersBuilder
Blanket Implementations§
impl<T> Allocation for T
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