Struct solana_sdk::fee::FeeStructure
source · pub struct FeeStructure {
pub lamports_per_signature: u64,
pub lamports_per_write_lock: u64,
pub compute_fee_bins: Vec<FeeBin>,
}
Expand description
Information used to calculate fees
Fields§
§lamports_per_signature: u64
lamports per signature
lamports_per_write_lock: u64
lamports_per_write_lock
compute_fee_bins: Vec<FeeBin>
Compute unit fee bins
Implementations§
Trait Implementations§
source§impl AbiExample for FeeStructure
impl AbiExample for FeeStructure
source§impl Clone for FeeStructure
impl Clone for FeeStructure
source§fn clone(&self) -> FeeStructure
fn clone(&self) -> FeeStructure
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 FeeStructure
impl Debug for FeeStructure
source§impl Default for FeeStructure
impl Default for FeeStructure
source§impl PartialEq<FeeStructure> for FeeStructure
impl PartialEq<FeeStructure> for FeeStructure
source§fn eq(&self, other: &FeeStructure) -> bool
fn eq(&self, other: &FeeStructure) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.