pub struct GetSamplingProfile {
pub method: GetSamplingProfileMethod,
pub params: GetSamplingProfileParams,
}Expand description
Retrieve native memory allocations profile collected since last
startSampling call.
getSamplingProfile
Fields§
§method: GetSamplingProfileMethod§params: GetSamplingProfileParamsImplementations§
Source§impl GetSamplingProfile
impl GetSamplingProfile
pub fn builder() -> GetSamplingProfileBuilder
Source§impl GetSamplingProfile
impl GetSamplingProfile
pub const IDENTIFIER: &'static str = "Memory.getSamplingProfile"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetSamplingProfile
impl Clone for GetSamplingProfile
Source§fn clone(&self) -> GetSamplingProfile
fn clone(&self) -> GetSamplingProfile
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 GetSamplingProfile
impl CommandResult for GetSamplingProfile
type Result = GetSamplingProfileResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetSamplingProfile
impl Debug for GetSamplingProfile
Source§impl<'de> Deserialize<'de> for GetSamplingProfile
impl<'de> Deserialize<'de> for GetSamplingProfile
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<GetSamplingProfile> for BrowserProtocolCommands
impl From<GetSamplingProfile> for BrowserProtocolCommands
Source§fn from(v: GetSamplingProfile) -> Self
fn from(v: GetSamplingProfile) -> Self
Converts to this type from the input type.
Source§impl From<GetSamplingProfile> for Command
impl From<GetSamplingProfile> for Command
Source§fn from(v: GetSamplingProfile) -> Self
fn from(v: GetSamplingProfile) -> Self
Converts to this type from the input type.
Source§impl From<GetSamplingProfile> for MemoryCommands
impl From<GetSamplingProfile> for MemoryCommands
Source§fn from(v: GetSamplingProfile) -> Self
fn from(v: GetSamplingProfile) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetSamplingProfile
impl PartialEq for GetSamplingProfile
Source§impl Serialize for GetSamplingProfile
impl Serialize for GetSamplingProfile
Source§impl TryFrom<BrowserProtocolCommands> for GetSamplingProfile
impl TryFrom<BrowserProtocolCommands> for GetSamplingProfile
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, <GetSamplingProfile as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetSamplingProfile as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetSamplingProfile
impl TryFrom<Command> for GetSamplingProfile
Source§impl TryFrom<MemoryCommands> for GetSamplingProfile
impl TryFrom<MemoryCommands> for GetSamplingProfile
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, <GetSamplingProfile as TryFrom<MemoryCommands>>::Error>
fn try_from( e: MemoryCommands, ) -> Result<Self, <GetSamplingProfile as TryFrom<MemoryCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetSamplingProfile
Auto Trait Implementations§
impl Freeze for GetSamplingProfile
impl RefUnwindSafe for GetSamplingProfile
impl Send for GetSamplingProfile
impl Sync for GetSamplingProfile
impl Unpin for GetSamplingProfile
impl UnsafeUnpin for GetSamplingProfile
impl UnwindSafe for GetSamplingProfile
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