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
sourceimpl AbiExample for FeeStructure
impl AbiExample for FeeStructure
sourceimpl Clone for FeeStructure
impl Clone for FeeStructure
sourcefn clone(&self) -> FeeStructure
fn clone(&self) -> FeeStructure
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FeeStructure
impl Debug for FeeStructure
Auto Trait Implementations
impl RefUnwindSafe for FeeStructure
impl Send for FeeStructure
impl Sync for FeeStructure
impl Unpin for FeeStructure
impl UnwindSafe for FeeStructure
Blanket Implementations
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more