pub struct PredictionCloseAllPositionsRequestBuilder { /* private fields */ }Expand description
Dependency-free builder for [#struct_name].
Implementations§
Source§impl PredictionCloseAllPositionsRequestBuilder
impl PredictionCloseAllPositionsRequestBuilder
Sourcepub fn new(min_sell_price_slippage_bps: f64) -> Self
pub fn new(min_sell_price_slippage_bps: f64) -> Self
Start a builder with every required wire field.
Sourcepub fn owner_pubkey(self, owner_pubkey: String) -> Self
pub fn owner_pubkey(self, owner_pubkey: String) -> Self
Set the optional ownerPubkey request field.
Sourcepub fn build(self) -> PredictionCloseAllPositionsRequest
pub fn build(self) -> PredictionCloseAllPositionsRequest
Finish building the request model.
Trait Implementations§
Source§impl Clone for PredictionCloseAllPositionsRequestBuilder
impl Clone for PredictionCloseAllPositionsRequestBuilder
Source§fn clone(&self) -> PredictionCloseAllPositionsRequestBuilder
fn clone(&self) -> PredictionCloseAllPositionsRequestBuilder
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 PredictionCloseAllPositionsRequestBuilder
impl RefUnwindSafe for PredictionCloseAllPositionsRequestBuilder
impl Send for PredictionCloseAllPositionsRequestBuilder
impl Sync for PredictionCloseAllPositionsRequestBuilder
impl Unpin for PredictionCloseAllPositionsRequestBuilder
impl UnsafeUnpin for PredictionCloseAllPositionsRequestBuilder
impl UnwindSafe for PredictionCloseAllPositionsRequestBuilder
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