pub struct SetSamplingIntervalParams {
pub interval: i64,
}Expand description
Changes CPU profiler sampling interval. Must be called before CPU profiles recording started. setSamplingInterval
Fields§
§interval: i64New sampling interval in microseconds.
Implementations§
Source§impl SetSamplingIntervalParams
impl SetSamplingIntervalParams
pub const IDENTIFIER: &'static str = "Profiler.setSamplingInterval"
Trait Implementations§
Source§impl Clone for SetSamplingIntervalParams
impl Clone for SetSamplingIntervalParams
Source§fn clone(&self) -> SetSamplingIntervalParams
fn clone(&self) -> SetSamplingIntervalParams
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 Command for SetSamplingIntervalParams
impl Command for SetSamplingIntervalParams
Source§impl Debug for SetSamplingIntervalParams
impl Debug for SetSamplingIntervalParams
Source§impl<'de> Deserialize<'de> for SetSamplingIntervalParams
impl<'de> Deserialize<'de> for SetSamplingIntervalParams
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 Method for SetSamplingIntervalParams
impl Method for SetSamplingIntervalParams
Source§fn identifier(&self) -> MethodId
fn identifier(&self) -> MethodId
The whole string identifier for this method like:
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodeimpl StructuralPartialEq for SetSamplingIntervalParams
Auto Trait Implementations§
impl Freeze for SetSamplingIntervalParams
impl RefUnwindSafe for SetSamplingIntervalParams
impl Send for SetSamplingIntervalParams
impl Sync for SetSamplingIntervalParams
impl Unpin for SetSamplingIntervalParams
impl UnwindSafe for SetSamplingIntervalParams
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