Struct solana_sdk::fee::FeeBin
source · pub struct FeeBin {
pub limit: u64,
pub fee: u64,
}
Expand description
A fee and its associated compute unit limit
Fields§
§limit: u64
maximum compute units for which this fee will be charged
fee: u64
fee in lamports
Trait Implementations§
source§impl PartialEq for FeeBin
impl PartialEq for FeeBin
impl Eq for FeeBin
impl StructuralEq for FeeBin
impl StructuralPartialEq for FeeBin
Auto Trait Implementations§
impl RefUnwindSafe for FeeBin
impl Send for FeeBin
impl Sync for FeeBin
impl Unpin for FeeBin
impl UnwindSafe for FeeBin
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more