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