pub struct ActionResultNotification {Show 13 fields
pub context: ActionResultContext,
pub slot: u64,
pub batch_index: Option<u32>,
pub action_index: u32,
pub label: Option<String>,
pub committed: bool,
pub err: Option<String>,
pub logs: Vec<String>,
pub units_consumed: u64,
pub fee: Option<u64>,
pub return_data: Option<Value>,
pub accounts: Vec<Option<Value>>,
pub matched: Option<EncodedBinary>,
}Expand description
One scheduled-action result delivered by actionSubscribe.
Fields§
§context: ActionResultContext§slot: u64§batch_index: Option<u32>Batch the action fired at; None for slot-boundary actions.
action_index: u32Index of the action in the session’s actions list.
label: Option<String>§committed: bool§err: Option<String>§logs: Vec<String>§units_consumed: u64§fee: Option<u64>§return_data: Option<Value>Program return data ({programId, data}), if any.
accounts: Vec<Option<Value>>Post-execution UiAccount JSON per return_accounts address, positional.
matched: Option<EncodedBinary>Encoded transaction whose discovery-filter match triggered this action;
absent for slot-boundary actions. Decode with EncodedBinary::decode
(base64 bincode of TxWithMeta) to inspect the matching transaction.
Trait Implementations§
Source§impl Clone for ActionResultNotification
impl Clone for ActionResultNotification
Source§fn clone(&self) -> ActionResultNotification
fn clone(&self) -> ActionResultNotification
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 ActionResultNotification
impl Debug for ActionResultNotification
Source§impl<'de> Deserialize<'de> for ActionResultNotification
impl<'de> Deserialize<'de> for ActionResultNotification
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 ActionResultNotification
impl RefUnwindSafe for ActionResultNotification
impl Send for ActionResultNotification
impl Sync for ActionResultNotification
impl Unpin for ActionResultNotification
impl UnsafeUnpin for ActionResultNotification
impl UnwindSafe for ActionResultNotification
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more