pub trait SetExecutionFee {
// Required method
fn set_execution_fee(&mut self, lamports: u64) -> &mut Self;
// Provided method
fn is_execution_fee_estimation_required(&self) -> bool { ... }
}
Expand description
Set Execution Fee.
Required Methods§
Sourcefn set_execution_fee(&mut self, lamports: u64) -> &mut Self
fn set_execution_fee(&mut self, lamports: u64) -> &mut Self
Set execution fee.
Provided Methods§
Sourcefn is_execution_fee_estimation_required(&self) -> bool
fn is_execution_fee_estimation_required(&self) -> bool
Whether the execution fee needed to be estiamted.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.