pub struct LegBuilder { /* private fields */ }Expand description
Builder for individual spread legs
Implementations§
Source§impl LegBuilder
impl LegBuilder
Sourcepub fn on_exchange(self, exchange: impl Into<Exchange>) -> Self
pub fn on_exchange(self, exchange: impl Into<Exchange>) -> Self
Target a specific exchange for the leg.
Sourcepub fn done(self) -> SpreadBuilder
pub fn done(self) -> SpreadBuilder
Finish the leg and return control to the parent spread builder.
Auto Trait Implementations§
impl Freeze for LegBuilder
impl RefUnwindSafe for LegBuilder
impl Send for LegBuilder
impl Sync for LegBuilder
impl Unpin for LegBuilder
impl UnsafeUnpin for LegBuilder
impl UnwindSafe for LegBuilder
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