Struct chromiumoxide::cdp::js_protocol::debugger::EnableParams
source · pub struct EnableParams {
pub max_scripts_cache_size: Option<f64>,
}
Expand description
Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received. enable
Fields§
§max_scripts_cache_size: Option<f64>
The maximum size in bytes of collected scripts (not referenced by other heap objects) the debugger can hold. Puts no limit if parameter is omitted.
Implementations§
source§impl EnableParams
impl EnableParams
pub fn builder() -> EnableParamsBuilder
source§impl EnableParams
impl EnableParams
pub const IDENTIFIER: &'static str = "Debugger.enable"
Trait Implementations§
source§impl Clone for EnableParams
impl Clone for EnableParams
source§fn clone(&self) -> EnableParams
fn clone(&self) -> EnableParams
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 Command for EnableParams
impl Command for EnableParams
§type Response = EnableReturns
type Response = EnableReturns
The type of the response this request triggers on the chromium server
source§impl Debug for EnableParams
impl Debug for EnableParams
source§impl Default for EnableParams
impl Default for EnableParams
source§fn default() -> EnableParams
fn default() -> EnableParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EnableParams
impl<'de> Deserialize<'de> for EnableParams
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EnableParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EnableParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for EnableParams
impl Method for EnableParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
source§impl MethodType for EnableParams
impl MethodType for EnableParams
source§impl PartialEq for EnableParams
impl PartialEq for EnableParams
source§impl Serialize for EnableParams
impl Serialize for EnableParams
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 EnableParams
Auto Trait Implementations§
impl Freeze for EnableParams
impl RefUnwindSafe for EnableParams
impl Send for EnableParams
impl Sync for EnableParams
impl Unpin for EnableParams
impl UnwindSafe for EnableParams
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)