Enum ethers_middleware::gas_oracle::GasCategory
source · pub enum GasCategory {
SafeLow,
Standard,
Fast,
Fastest,
}Expand description
Various gas price categories. Choose one of the available
Variants
Trait Implementations
sourceimpl Clone for GasCategory
impl Clone for GasCategory
sourcefn clone(&self) -> GasCategory
fn clone(&self) -> GasCategory
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 moresourceimpl Debug for GasCategory
impl Debug for GasCategory
sourceimpl Hash for GasCategory
impl Hash for GasCategory
sourceimpl PartialEq<GasCategory> for GasCategory
impl PartialEq<GasCategory> for GasCategory
sourcefn eq(&self, other: &GasCategory) -> bool
fn eq(&self, other: &GasCategory) -> bool
impl Copy for GasCategory
impl Eq for GasCategory
impl StructuralEq for GasCategory
impl StructuralPartialEq for GasCategory
Auto Trait Implementations
impl RefUnwindSafe for GasCategory
impl Send for GasCategory
impl Sync for GasCategory
impl Unpin for GasCategory
impl UnwindSafe for GasCategory
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.