Expand description
Options for the dynamic gas price recalibrator.
Fields
usd_per_tx: f32
Base transaction price to match against.
recalibration_period: Duration
How frequently we should recalibrate.
Trait Implementations
sourceimpl Debug for GasPriceCalibratorOptions
impl Debug for GasPriceCalibratorOptions
sourceimpl PartialEq<GasPriceCalibratorOptions> for GasPriceCalibratorOptions
impl PartialEq<GasPriceCalibratorOptions> for GasPriceCalibratorOptions
sourcefn eq(&self, other: &GasPriceCalibratorOptions) -> bool
fn eq(&self, other: &GasPriceCalibratorOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GasPriceCalibratorOptions) -> bool
fn ne(&self, other: &GasPriceCalibratorOptions) -> bool
This method tests for !=
.
impl StructuralPartialEq for GasPriceCalibratorOptions
Auto Trait Implementations
impl RefUnwindSafe for GasPriceCalibratorOptions
impl Send for GasPriceCalibratorOptions
impl Sync for GasPriceCalibratorOptions
impl Unpin for GasPriceCalibratorOptions
impl UnwindSafe for GasPriceCalibratorOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more