pub struct ConsoleProfileStarted {
pub method: ConsoleProfileStartedMethod,
pub params: ConsoleProfileStartedParams,
}Expand description
Sent when new profile recording is started using console.profile() call. consoleProfileStarted
Fields§
§method: ConsoleProfileStartedMethod§params: ConsoleProfileStartedParamsImplementations§
Source§impl ConsoleProfileStarted
impl ConsoleProfileStarted
pub const IDENTIFIER: &'static str = "Profiler.consoleProfileStarted"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ConsoleProfileStarted
impl Clone for ConsoleProfileStarted
Source§fn clone(&self) -> ConsoleProfileStarted
fn clone(&self) -> ConsoleProfileStarted
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 ConsoleProfileStarted
impl Debug for ConsoleProfileStarted
Source§impl<'de> Deserialize<'de> for ConsoleProfileStarted
impl<'de> Deserialize<'de> for ConsoleProfileStarted
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
Source§impl From<ConsoleProfileStarted> for Event
impl From<ConsoleProfileStarted> for Event
Source§fn from(v: ConsoleProfileStarted) -> Self
fn from(v: ConsoleProfileStarted) -> Self
Converts to this type from the input type.
Source§impl From<ConsoleProfileStarted> for JsProtocolEvents
impl From<ConsoleProfileStarted> for JsProtocolEvents
Source§fn from(v: ConsoleProfileStarted) -> Self
fn from(v: ConsoleProfileStarted) -> Self
Converts to this type from the input type.
Source§impl From<ConsoleProfileStarted> for ProfilerEvents
impl From<ConsoleProfileStarted> for ProfilerEvents
Source§fn from(v: ConsoleProfileStarted) -> Self
fn from(v: ConsoleProfileStarted) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConsoleProfileStarted
impl PartialEq for ConsoleProfileStarted
Source§impl Serialize for ConsoleProfileStarted
impl Serialize for ConsoleProfileStarted
Source§impl TryFrom<Event> for ConsoleProfileStarted
impl TryFrom<Event> for ConsoleProfileStarted
Source§impl TryFrom<JsProtocolEvents> for ConsoleProfileStarted
impl TryFrom<JsProtocolEvents> for ConsoleProfileStarted
Source§type Error = JsProtocolEvents
type Error = JsProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: JsProtocolEvents,
) -> Result<Self, <ConsoleProfileStarted as TryFrom<JsProtocolEvents>>::Error>
fn try_from( e: JsProtocolEvents, ) -> Result<Self, <ConsoleProfileStarted as TryFrom<JsProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<ProfilerEvents> for ConsoleProfileStarted
impl TryFrom<ProfilerEvents> for ConsoleProfileStarted
Source§type Error = ProfilerEvents
type Error = ProfilerEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: ProfilerEvents,
) -> Result<Self, <ConsoleProfileStarted as TryFrom<ProfilerEvents>>::Error>
fn try_from( e: ProfilerEvents, ) -> Result<Self, <ConsoleProfileStarted as TryFrom<ProfilerEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for ConsoleProfileStarted
Auto Trait Implementations§
impl Freeze for ConsoleProfileStarted
impl RefUnwindSafe for ConsoleProfileStarted
impl Send for ConsoleProfileStarted
impl Sync for ConsoleProfileStarted
impl Unpin for ConsoleProfileStarted
impl UnsafeUnpin for ConsoleProfileStarted
impl UnwindSafe for ConsoleProfileStarted
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