pub struct PredictionCreateOrderResponse {
pub execution: Option<PredictionExecution>,
pub execution_model: Option<String>,
pub external_order_id: Option<String>,
pub jupiter_swap_request_id: Option<String>,
pub order: PredictionCreateOrderResponseOrder,
pub required_signers: Option<Vec<String>>,
pub settlement: Option<String>,
pub transaction: Option<String>,
pub tx_meta: Option<PredictionCreateOrderResponseTxMeta>,
}Fields§
§execution: Option<PredictionExecution>§execution_model: Option<String>Execution model for the order. atomic_swap for Jupiter Forecast (bisonfi) orders, which execute as a single atomic swap through POST /execute. null for keeper-filled prediction orders.
external_order_id: Option<String>§jupiter_swap_request_id: Option<String>Jupiter swap request id when the order executes as a swap (Jupiter Forecast). null otherwise.
order: PredictionCreateOrderResponseOrder§required_signers: Option<Vec<String>>Public keys that must sign the returned transaction
settlement: Option<String>Settlement mode. auto for Jupiter Forecast orders, which settle automatically. null for keeper-filled prediction orders.
transaction: Option<String>Base64 encoded transaction
tx_meta: Option<PredictionCreateOrderResponseTxMeta>Transaction metadata
Trait Implementations§
Source§impl Clone for PredictionCreateOrderResponse
impl Clone for PredictionCreateOrderResponse
Source§fn clone(&self) -> PredictionCreateOrderResponse
fn clone(&self) -> PredictionCreateOrderResponse
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 PredictionCreateOrderResponse
impl<'de> Deserialize<'de> for PredictionCreateOrderResponse
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 PredictionCreateOrderResponse
impl RefUnwindSafe for PredictionCreateOrderResponse
impl Send for PredictionCreateOrderResponse
impl Sync for PredictionCreateOrderResponse
impl Unpin for PredictionCreateOrderResponse
impl UnsafeUnpin for PredictionCreateOrderResponse
impl UnwindSafe for PredictionCreateOrderResponse
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