pub struct PredictionCloseAllPositionsRequest {
pub min_sell_price_slippage_bps: f64,
pub owner_pubkey: Option<String>,
}Fields§
§min_sell_price_slippage_bps: f64Slippage tolerance applied to each sell, in basis points. Required.
owner_pubkey: Option<String>Position owner public key Constraint: minLength=32
Implementations§
Trait Implementations§
Source§impl Clone for PredictionCloseAllPositionsRequest
impl Clone for PredictionCloseAllPositionsRequest
Source§fn clone(&self) -> PredictionCloseAllPositionsRequest
fn clone(&self) -> PredictionCloseAllPositionsRequest
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 moreSource§impl<'de> Deserialize<'de> for PredictionCloseAllPositionsRequest
impl<'de> Deserialize<'de> for PredictionCloseAllPositionsRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PredictionCloseAllPositionsRequest
impl RefUnwindSafe for PredictionCloseAllPositionsRequest
impl Send for PredictionCloseAllPositionsRequest
impl Sync for PredictionCloseAllPositionsRequest
impl Unpin for PredictionCloseAllPositionsRequest
impl UnsafeUnpin for PredictionCloseAllPositionsRequest
impl UnwindSafe for PredictionCloseAllPositionsRequest
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