pub struct ExecutionConfig {
pub overwrite_feepayer: Option<WalletOrPubkey>,
pub devnet_lookup_table: Option<Pubkey>,
pub mainnet_lookup_table: Option<Pubkey>,
pub compute_budget: InsertionBehavior,
pub fallback_compute_budget: Option<u64>,
pub priority_fee: InsertionBehavior,
pub simulation_commitment_level: CommitmentLevel,
pub tx_commitment_level: CommitmentLevel,
pub wait_commitment_level: CommitmentLevel,
pub execute_on: ExecuteOn,
}Fields§
§overwrite_feepayer: Option<WalletOrPubkey>§devnet_lookup_table: Option<Pubkey>§mainnet_lookup_table: Option<Pubkey>§compute_budget: InsertionBehavior§fallback_compute_budget: Option<u64>§priority_fee: InsertionBehavior§simulation_commitment_level: CommitmentLevel§tx_commitment_level: CommitmentLevel§wait_commitment_level: CommitmentLevel§execute_on: ExecuteOnImplementations§
Trait Implementations§
Source§impl Clone for ExecutionConfig
impl Clone for ExecutionConfig
Source§fn clone(&self) -> ExecutionConfig
fn clone(&self) -> ExecutionConfig
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 ExecutionConfig
impl Debug for ExecutionConfig
Source§impl Default for ExecutionConfig
impl Default for ExecutionConfig
Source§impl<'de> Deserialize<'de> for ExecutionConfig
impl<'de> Deserialize<'de> for ExecutionConfig
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 ExecutionConfig
impl RefUnwindSafe for ExecutionConfig
impl Send for ExecutionConfig
impl Sync for ExecutionConfig
impl Unpin for ExecutionConfig
impl UnwindSafe for ExecutionConfig
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