Struct chromiumoxide::cdp::js_protocol::profiler::Profile
source · pub struct Profile {
pub nodes: Vec<ProfileNode>,
pub start_time: f64,
pub end_time: f64,
pub samples: Option<Vec<i64>>,
pub time_deltas: Option<Vec<i64>>,
}
Expand description
Profile. Profile
Fields§
§nodes: Vec<ProfileNode>
The list of profile nodes. First item is the root node.
start_time: f64
Profiling start timestamp in microseconds.
end_time: f64
Profiling end timestamp in microseconds.
samples: Option<Vec<i64>>
Ids of samples top nodes.
time_deltas: Option<Vec<i64>>
Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Profile
impl<'de> Deserialize<'de> for Profile
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Profile, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Profile, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Profile
impl PartialEq for Profile
source§impl Serialize for Profile
impl Serialize for Profile
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Profile
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin 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