pub struct GetBrowserSamplingProfile {
pub method: GetBrowserSamplingProfileMethod,
pub params: GetBrowserSamplingProfileParams,
}Expand description
Retrieve native memory allocations profile collected since browser process startup. getBrowserSamplingProfile
Fields§
§method: GetBrowserSamplingProfileMethod§params: GetBrowserSamplingProfileParamsImplementations§
Source§impl GetBrowserSamplingProfile
impl GetBrowserSamplingProfile
pub const IDENTIFIER: &'static str = "Memory.getBrowserSamplingProfile"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetBrowserSamplingProfile
impl Clone for GetBrowserSamplingProfile
Source§fn clone(&self) -> GetBrowserSamplingProfile
fn clone(&self) -> GetBrowserSamplingProfile
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 CommandResult for GetBrowserSamplingProfile
impl CommandResult for GetBrowserSamplingProfile
type Result = GetBrowserSamplingProfileResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetBrowserSamplingProfile
impl Debug for GetBrowserSamplingProfile
Source§impl<'de> Deserialize<'de> for GetBrowserSamplingProfile
impl<'de> Deserialize<'de> for GetBrowserSamplingProfile
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<GetBrowserSamplingProfile> for BrowserProtocolCommands
impl From<GetBrowserSamplingProfile> for BrowserProtocolCommands
Source§fn from(v: GetBrowserSamplingProfile) -> Self
fn from(v: GetBrowserSamplingProfile) -> Self
Converts to this type from the input type.
Source§impl From<GetBrowserSamplingProfile> for Command
impl From<GetBrowserSamplingProfile> for Command
Source§fn from(v: GetBrowserSamplingProfile) -> Self
fn from(v: GetBrowserSamplingProfile) -> Self
Converts to this type from the input type.
Source§impl From<GetBrowserSamplingProfile> for MemoryCommands
impl From<GetBrowserSamplingProfile> for MemoryCommands
Source§fn from(v: GetBrowserSamplingProfile) -> Self
fn from(v: GetBrowserSamplingProfile) -> Self
Converts to this type from the input type.
Source§impl TryFrom<BrowserProtocolCommands> for GetBrowserSamplingProfile
impl TryFrom<BrowserProtocolCommands> for GetBrowserSamplingProfile
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <GetBrowserSamplingProfile as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetBrowserSamplingProfile as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetBrowserSamplingProfile
impl TryFrom<Command> for GetBrowserSamplingProfile
Source§impl TryFrom<MemoryCommands> for GetBrowserSamplingProfile
impl TryFrom<MemoryCommands> for GetBrowserSamplingProfile
Source§type Error = MemoryCommands
type Error = MemoryCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: MemoryCommands,
) -> Result<Self, <GetBrowserSamplingProfile as TryFrom<MemoryCommands>>::Error>
fn try_from( e: MemoryCommands, ) -> Result<Self, <GetBrowserSamplingProfile as TryFrom<MemoryCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetBrowserSamplingProfile
Auto Trait Implementations§
impl Freeze for GetBrowserSamplingProfile
impl RefUnwindSafe for GetBrowserSamplingProfile
impl Send for GetBrowserSamplingProfile
impl Sync for GetBrowserSamplingProfile
impl Unpin for GetBrowserSamplingProfile
impl UnsafeUnpin for GetBrowserSamplingProfile
impl UnwindSafe for GetBrowserSamplingProfile
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