pub struct HotPathComparison {
pub stack: String,
pub baseline_gas: u64,
pub target_gas: u64,
pub gas_change: i64,
pub percent_change: f64,
}Expand description
Comparison of a single hot path present in both profiles
Fields§
§stack: StringStack trace identifier
baseline_gas: u64Gas in baseline
target_gas: u64Gas in target
gas_change: i64Change in gas
percent_change: f64Percentage change
Trait Implementations§
Source§impl Clone for HotPathComparison
impl Clone for HotPathComparison
Source§fn clone(&self) -> HotPathComparison
fn clone(&self) -> HotPathComparison
Returns a duplicate 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 HotPathComparison
impl Debug for HotPathComparison
Source§impl Default for HotPathComparison
impl Default for HotPathComparison
Source§fn default() -> HotPathComparison
fn default() -> HotPathComparison
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HotPathComparison
impl<'de> Deserialize<'de> for HotPathComparison
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 HotPathComparison
impl RefUnwindSafe for HotPathComparison
impl Send for HotPathComparison
impl Sync for HotPathComparison
impl Unpin for HotPathComparison
impl UnsafeUnpin for HotPathComparison
impl UnwindSafe for HotPathComparison
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