#[repr(C)]pub struct FeeCalculator {
pub lamports_per_signature: u64,
}
Fields§
§lamports_per_signature: u64
The current cost of a signature.
This amount may increase/decrease over time based on cluster processing load.
Implementations§
Trait Implementations§
Source§impl Clone for FeeCalculator
impl Clone for FeeCalculator
Source§fn clone(&self) -> FeeCalculator
fn clone(&self) -> FeeCalculator
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 FeeCalculator
impl Debug for FeeCalculator
Source§impl Default for FeeCalculator
impl Default for FeeCalculator
Source§fn default() -> FeeCalculator
fn default() -> FeeCalculator
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FeeCalculator
impl<'de> Deserialize<'de> for FeeCalculator
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FeeCalculator
impl PartialEq for FeeCalculator
Source§impl Serialize for FeeCalculator
impl Serialize for FeeCalculator
impl Copy for FeeCalculator
impl Eq for FeeCalculator
impl StructuralPartialEq for FeeCalculator
Auto Trait Implementations§
impl Freeze for FeeCalculator
impl RefUnwindSafe for FeeCalculator
impl Send for FeeCalculator
impl Sync for FeeCalculator
impl Unpin for FeeCalculator
impl UnwindSafe for FeeCalculator
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