Struct safecoin_client::rpc_client::RpcClientConfig
source · pub struct RpcClientConfig {
pub commitment_config: CommitmentConfig,
pub confirm_transaction_initial_timeout: Option<Duration>,
}
Fields§
§commitment_config: CommitmentConfig
§confirm_transaction_initial_timeout: Option<Duration>
Implementations§
source§impl RpcClientConfig
impl RpcClientConfig
pub fn with_commitment(commitment_config: CommitmentConfig) -> Self
Trait Implementations§
source§impl Default for RpcClientConfig
impl Default for RpcClientConfig
source§fn default() -> RpcClientConfig
fn default() -> RpcClientConfig
Returns the “default value” for a type. Read more