Struct solana_client::rpc_config::RpcTransactionConfig
source · pub struct RpcTransactionConfig {
pub encoding: Option<UiTransactionEncoding>,
pub commitment: Option<CommitmentConfig>,
pub max_supported_transaction_version: Option<u8>,
}
Fields§
§encoding: Option<UiTransactionEncoding>
§commitment: Option<CommitmentConfig>
§max_supported_transaction_version: Option<u8>
Trait Implementations§
source§impl Clone for RpcTransactionConfig
impl Clone for RpcTransactionConfig
source§fn clone(&self) -> RpcTransactionConfig
fn clone(&self) -> RpcTransactionConfig
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 RpcTransactionConfig
impl Debug for RpcTransactionConfig
source§impl Default for RpcTransactionConfig
impl Default for RpcTransactionConfig
source§fn default() -> RpcTransactionConfig
fn default() -> RpcTransactionConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RpcTransactionConfig
impl<'de> Deserialize<'de> for RpcTransactionConfig
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 EncodingConfig for RpcTransactionConfig
impl EncodingConfig for RpcTransactionConfig
fn new_with_encoding(encoding: &Option<UiTransactionEncoding>) -> Self
source§impl From<RpcConfirmedTransactionConfig> for RpcTransactionConfig
impl From<RpcConfirmedTransactionConfig> for RpcTransactionConfig
source§fn from(config: RpcConfirmedTransactionConfig) -> Self
fn from(config: RpcConfirmedTransactionConfig) -> Self
Converts to this type from the input type.
source§impl PartialEq<RpcTransactionConfig> for RpcTransactionConfig
impl PartialEq<RpcTransactionConfig> for RpcTransactionConfig
source§fn eq(&self, other: &RpcTransactionConfig) -> bool
fn eq(&self, other: &RpcTransactionConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.