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