pub struct ScheduledAction {
pub anchor: ActionAnchor,
pub kind: ActionKind,
pub transaction: String,
pub return_accounts: Vec<Address>,
pub label: Option<String>,
}Expand description
A transaction the server runs automatically during a backtest, with results
streamed over the actionSubscribe subscription.
Fields§
§anchor: ActionAnchor§kind: ActionKind§transaction: StringBase64-encoded transaction.
return_accounts: Vec<Address>Accounts whose post-execution state to return, following
simulateTransaction semantics.
label: Option<String>Optional client tag echoed back on each actionSubscribe result to correlate it to this action.
Trait Implementations§
Source§impl Clone for ScheduledAction
impl Clone for ScheduledAction
Source§fn clone(&self) -> ScheduledAction
fn clone(&self) -> ScheduledAction
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 ScheduledAction
impl Debug for ScheduledAction
Source§impl<'de> Deserialize<'de> for ScheduledAction
impl<'de> Deserialize<'de> for ScheduledAction
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
impl Eq for ScheduledAction
Source§impl PartialEq for ScheduledAction
impl PartialEq for ScheduledAction
Source§fn eq(&self, other: &ScheduledAction) -> bool
fn eq(&self, other: &ScheduledAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ScheduledAction
impl Serialize for ScheduledAction
impl StructuralPartialEq for ScheduledAction
Auto Trait Implementations§
impl Freeze for ScheduledAction
impl RefUnwindSafe for ScheduledAction
impl Send for ScheduledAction
impl Sync for ScheduledAction
impl Unpin for ScheduledAction
impl UnsafeUnpin for ScheduledAction
impl UnwindSafe for ScheduledAction
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