pub struct DryRunResult {
pub error: Option<String>,
pub results: Vec<DryRunEffect>,
pub transaction: Option<SignedTransaction>,
pub effects: Option<TransactionEffects>,
}Expand description
The result of a simulation (dry run), which includes the effects of the transaction and intermediate results for each command.
Fields§
§error: Option<String>The error that occurred during dry run execution, if any.
results: Vec<DryRunEffect>The intermediate results for each command of the dry run execution, including contents of mutated references and return values.
transaction: Option<SignedTransaction>The transaction block representing the dry run execution.
effects: Option<TransactionEffects>The effects of the transaction execution.
Trait Implementations§
Source§impl Clone for DryRunResult
impl Clone for DryRunResult
Source§fn clone(&self) -> DryRunResult
fn clone(&self) -> DryRunResult
Returns a duplicate of the value. Read more
1.0.0 · 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 DryRunResult
impl Debug for DryRunResult
Source§impl<'de> Deserialize<'de> for DryRunResult
impl<'de> Deserialize<'de> for DryRunResult
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
Source§impl PartialEq for DryRunResult
impl PartialEq for DryRunResult
Source§impl Serialize for DryRunResult
impl Serialize for DryRunResult
impl StructuralPartialEq for DryRunResult
Auto Trait Implementations§
impl Freeze for DryRunResult
impl RefUnwindSafe for DryRunResult
impl Send for DryRunResult
impl Sync for DryRunResult
impl Unpin for DryRunResult
impl UnwindSafe for DryRunResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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