pub struct PredictionExecution {
pub context: PredictionExecutionContext,
pub endpoint: String,
}Expand description
Execution details returned with an order build. Sign the build’s transaction, then pass context unchanged to POST /execute.
Fields§
§context: PredictionExecutionContextOpaque execution context. Pass this object unchanged to POST /execute. Includes a type field (create_order for keeper-filled orders, bisonfi_swap for Jupiter Forecast orders).
endpoint: StringRelative execute path. Resolves to https://api.jup.ag/prediction/v1/execute.
Trait Implementations§
Source§impl Clone for PredictionExecution
impl Clone for PredictionExecution
Source§fn clone(&self) -> PredictionExecution
fn clone(&self) -> PredictionExecution
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 Debug for PredictionExecution
impl Debug for PredictionExecution
Source§impl<'de> Deserialize<'de> for PredictionExecution
impl<'de> Deserialize<'de> for PredictionExecution
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 PredictionExecution
impl RefUnwindSafe for PredictionExecution
impl Send for PredictionExecution
impl Sync for PredictionExecution
impl Unpin for PredictionExecution
impl UnsafeUnpin for PredictionExecution
impl UnwindSafe for PredictionExecution
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