pub struct GasPriceCalibrator { /* private fields */ }
Expand description
The gas price validator variant for a GasPricer
.
Implementations
sourceimpl GasPriceCalibrator
impl GasPriceCalibrator
sourcepub fn new(
options: GasPriceCalibratorOptions,
fetch: FetchClient,
p: Executor,
api_endpoint: String
) -> GasPriceCalibrator
pub fn new(
options: GasPriceCalibratorOptions,
fetch: FetchClient,
p: Executor,
api_endpoint: String
) -> GasPriceCalibrator
Create a new gas price calibrator.
Trait Implementations
sourceimpl Debug for GasPriceCalibrator
impl Debug for GasPriceCalibrator
sourceimpl PartialEq<GasPriceCalibrator> for GasPriceCalibrator
impl PartialEq<GasPriceCalibrator> for GasPriceCalibrator
sourcefn eq(&self, other: &GasPriceCalibrator) -> bool
fn eq(&self, other: &GasPriceCalibrator) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GasPriceCalibrator) -> bool
fn ne(&self, other: &GasPriceCalibrator) -> bool
This method tests for !=
.
impl StructuralPartialEq for GasPriceCalibrator
Auto Trait Implementations
impl !RefUnwindSafe for GasPriceCalibrator
impl Send for GasPriceCalibrator
impl Sync for GasPriceCalibrator
impl Unpin for GasPriceCalibrator
impl !UnwindSafe for GasPriceCalibrator
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