pub struct ProfileMetadata {
pub transaction_hash: String,
pub total_gas: u64,
pub generated_at: String,
}Expand description
Metadata extracted from a profile for comparison
Fields§
§transaction_hash: StringTransaction hash
total_gas: u64Total gas used
generated_at: StringWhen the profile was generated
Trait Implementations§
Source§impl Clone for ProfileMetadata
impl Clone for ProfileMetadata
Source§fn clone(&self) -> ProfileMetadata
fn clone(&self) -> ProfileMetadata
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 ProfileMetadata
impl Debug for ProfileMetadata
Source§impl Default for ProfileMetadata
impl Default for ProfileMetadata
Source§fn default() -> ProfileMetadata
fn default() -> ProfileMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfileMetadata
impl<'de> Deserialize<'de> for ProfileMetadata
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 ProfileMetadata
impl RefUnwindSafe for ProfileMetadata
impl Send for ProfileMetadata
impl Sync for ProfileMetadata
impl Unpin for ProfileMetadata
impl UnsafeUnpin for ProfileMetadata
impl UnwindSafe for ProfileMetadata
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