Struct chromiumoxide::cdp::js_protocol::profiler::Profile[][src]

pub struct Profile {
    pub nodes: Vec<ProfileNode, Global>,
    pub start_time: f64,
    pub end_time: f64,
    pub samples: Option<Vec<i64, Global>>,
    pub time_deltas: Option<Vec<i64, Global>>,
}

Profile. Profile

Fields

nodes: Vec<ProfileNode, Global>

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, Global>>

Ids of samples top nodes.

time_deltas: Option<Vec<i64, Global>>

Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime.

Implementations

impl Profile[src]

pub fn new(
    nodes: Vec<ProfileNode, Global>,
    start_time: impl Into<f64>,
    end_time: impl Into<f64>
) -> Profile
[src]

impl Profile[src]

impl Profile[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for Profile[src]

impl Debug for Profile[src]

impl<'de> Deserialize<'de> for Profile[src]

impl PartialEq<Profile> for Profile[src]

impl Serialize for Profile[src]

impl StructuralPartialEq for Profile[src]

Auto Trait Implementations

impl RefUnwindSafe for Profile

impl Send for Profile

impl Sync for Profile

impl Unpin for Profile

impl UnwindSafe for Profile

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,