pub struct Profile {
pub version: String,
pub transaction_hash: String,
pub total_gas: u64,
pub hostio_summary: HostIoSummary,
pub hot_paths: Vec<HotPath>,
pub all_stacks: Option<Vec<CollapsedStack>>,
pub generated_at: String,
}Expand description
Top-level profile structure written to JSON
Fields§
§version: StringSchema version for compatibility checking
transaction_hash: StringTransaction hash that was profiled
total_gas: u64Total gas used by the transaction
hostio_summary: HostIoSummarySummary of HostIO events by category
hot_paths: Vec<HotPath>Top hot paths (ranked by gas usage)
all_stacks: Option<Vec<CollapsedStack>>Complete execution stacks (optional, for full diff visualization)
generated_at: StringTimestamp when profile was generated
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Profile
impl<'de> Deserialize<'de> for Profile
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 Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnsafeUnpin for Profile
impl UnwindSafe for Profile
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