pub struct GasDelta {
pub baseline: u64,
pub target: u64,
pub absolute_change: i64,
pub percent_change: f64,
}Expand description
Gas usage delta
Fields§
§baseline: u64Baseline gas
target: u64Target gas
absolute_change: i64Absolute change (can be negative)
percent_change: f64Percentage change (can be negative)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GasDelta
impl<'de> Deserialize<'de> for GasDelta
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
Auto Trait Implementations§
impl Freeze for GasDelta
impl RefUnwindSafe for GasDelta
impl Send for GasDelta
impl Sync for GasDelta
impl Unpin for GasDelta
impl UnsafeUnpin for GasDelta
impl UnwindSafe for GasDelta
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