Struct ethers_middleware::gas_oracle::polygon::GasEstimate
source · pub struct GasEstimate {
pub max_priority_fee: f64,
pub max_fee: f64,
}Fields§
§max_priority_fee: f64§max_fee: f64Trait Implementations§
source§impl Clone for GasEstimate
impl Clone for GasEstimate
source§fn clone(&self) -> GasEstimate
fn clone(&self) -> GasEstimate
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 GasEstimate
impl Debug for GasEstimate
source§impl<'de> Deserialize<'de> for GasEstimate
impl<'de> Deserialize<'de> for GasEstimate
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<GasEstimate> for GasEstimate
impl PartialEq<GasEstimate> for GasEstimate
source§fn eq(&self, other: &GasEstimate) -> bool
fn eq(&self, other: &GasEstimate) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for GasEstimate
impl StructuralPartialEq for GasEstimate
Auto Trait Implementations§
impl RefUnwindSafe for GasEstimate
impl Send for GasEstimate
impl Sync for GasEstimate
impl Unpin for GasEstimate
impl UnwindSafe for GasEstimate
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