pub struct RpcSimulateTransactionConfig {
pub sig_verify: bool,
pub replace_recent_blockhash: bool,
pub commitment: Option<CommitmentConfig>,
pub encoding: Option<UiTransactionEncoding>,
pub accounts: Option<RpcSimulateTransactionAccountsConfig>,
pub min_context_slot: Option<Slot>,
}
Fields§
§sig_verify: bool
§replace_recent_blockhash: bool
§commitment: Option<CommitmentConfig>
§encoding: Option<UiTransactionEncoding>
§accounts: Option<RpcSimulateTransactionAccountsConfig>
§min_context_slot: Option<Slot>
Trait Implementations§
source§impl Clone for RpcSimulateTransactionConfig
impl Clone for RpcSimulateTransactionConfig
source§fn clone(&self) -> RpcSimulateTransactionConfig
fn clone(&self) -> RpcSimulateTransactionConfig
Returns a copy 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 RpcSimulateTransactionConfig
impl Debug for RpcSimulateTransactionConfig
source§impl Default for RpcSimulateTransactionConfig
impl Default for RpcSimulateTransactionConfig
source§fn default() -> RpcSimulateTransactionConfig
fn default() -> RpcSimulateTransactionConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RpcSimulateTransactionConfig
impl<'de> Deserialize<'de> for RpcSimulateTransactionConfig
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<RpcSimulateTransactionConfig> for RpcSimulateTransactionConfig
impl PartialEq<RpcSimulateTransactionConfig> for RpcSimulateTransactionConfig
source§fn eq(&self, other: &RpcSimulateTransactionConfig) -> bool
fn eq(&self, other: &RpcSimulateTransactionConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.