Struct chromiumoxide::cdp::js_protocol::profiler::ScriptTypeProfile
source · pub struct ScriptTypeProfile {
pub script_id: ScriptId,
pub url: String,
pub entries: Vec<TypeProfileEntry>,
}
Expand description
Type profile data collected during runtime for a JavaScript script. ScriptTypeProfile
Fields§
§script_id: ScriptId
JavaScript script id.
url: String
JavaScript script name or url.
entries: Vec<TypeProfileEntry>
Type profile entries for parameters and return values of the functions in the script.
Implementations§
source§impl ScriptTypeProfile
impl ScriptTypeProfile
pub fn new( script_id: impl Into<ScriptId>, url: impl Into<String>, entries: Vec<TypeProfileEntry> ) -> ScriptTypeProfile
source§impl ScriptTypeProfile
impl ScriptTypeProfile
pub fn builder() -> ScriptTypeProfileBuilder
source§impl ScriptTypeProfile
impl ScriptTypeProfile
pub const IDENTIFIER: &'static str = "Profiler.ScriptTypeProfile"
Trait Implementations§
source§impl Clone for ScriptTypeProfile
impl Clone for ScriptTypeProfile
source§fn clone(&self) -> ScriptTypeProfile
fn clone(&self) -> ScriptTypeProfile
Returns a copy 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 ScriptTypeProfile
impl Debug for ScriptTypeProfile
source§impl<'de> Deserialize<'de> for ScriptTypeProfile
impl<'de> Deserialize<'de> for ScriptTypeProfile
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ScriptTypeProfile, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ScriptTypeProfile, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ScriptTypeProfile
impl PartialEq for ScriptTypeProfile
source§fn eq(&self, other: &ScriptTypeProfile) -> bool
fn eq(&self, other: &ScriptTypeProfile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ScriptTypeProfile
impl Serialize for ScriptTypeProfile
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 ScriptTypeProfile
Auto Trait Implementations§
impl Freeze for ScriptTypeProfile
impl RefUnwindSafe for ScriptTypeProfile
impl Send for ScriptTypeProfile
impl Sync for ScriptTypeProfile
impl Unpin for ScriptTypeProfile
impl UnwindSafe for ScriptTypeProfile
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