Trait SetExecutionFee

Source
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§

Source

fn set_execution_fee(&mut self, lamports: u64) -> &mut Self

Set execution fee.

Provided Methods§

Source

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.

Implementors§