pub struct EvaluateOnCallFrameParams {
pub call_frame_id: CallFrameId,
pub expression: String,
pub object_group: Option<String>,
pub include_command_line_api: Option<bool>,
pub silent: Option<bool>,
pub return_by_value: Option<bool>,
pub generate_preview: Option<bool>,
pub throw_on_side_effect: Option<bool>,
pub timeout: Option<TimeDelta>,
}
Expand description
Evaluates expression on a given call frame. evaluateOnCallFrame
Fields§
§call_frame_id: CallFrameId
Call frame identifier to evaluate on.
expression: String
Expression to evaluate.
object_group: Option<String>
String object group name to put result into (allows rapid releasing resulting object handles
using releaseObjectGroup
).
include_command_line_api: Option<bool>
Specifies whether command line API should be available to the evaluated expression, defaults to false.
silent: Option<bool>
In silent mode exceptions thrown during evaluation are not reported and do not pause
execution. Overrides setPauseOnException
state.
return_by_value: Option<bool>
Whether the result is expected to be a JSON object that should be sent by value.
generate_preview: Option<bool>
Whether preview should be generated for the result.
throw_on_side_effect: Option<bool>
Whether to throw an exception if side effect cannot be ruled out during evaluation.
timeout: Option<TimeDelta>
Terminate execution after timing out (number of milliseconds).
Implementations§
source§impl EvaluateOnCallFrameParams
impl EvaluateOnCallFrameParams
pub fn new( call_frame_id: impl Into<CallFrameId>, expression: impl Into<String> ) -> EvaluateOnCallFrameParams
source§impl EvaluateOnCallFrameParams
impl EvaluateOnCallFrameParams
pub const IDENTIFIER: &'static str = "Debugger.evaluateOnCallFrame"
Trait Implementations§
source§impl Clone for EvaluateOnCallFrameParams
impl Clone for EvaluateOnCallFrameParams
source§fn clone(&self) -> EvaluateOnCallFrameParams
fn clone(&self) -> EvaluateOnCallFrameParams
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Command for EvaluateOnCallFrameParams
impl Command for EvaluateOnCallFrameParams
§type Response = EvaluateOnCallFrameReturns
type Response = EvaluateOnCallFrameReturns
source§impl Debug for EvaluateOnCallFrameParams
impl Debug for EvaluateOnCallFrameParams
source§impl<'de> Deserialize<'de> for EvaluateOnCallFrameParams
impl<'de> Deserialize<'de> for EvaluateOnCallFrameParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<EvaluateOnCallFrameParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<EvaluateOnCallFrameParams, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
source§impl Method for EvaluateOnCallFrameParams
impl Method for EvaluateOnCallFrameParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
DOM.removeNode
source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
DOM
source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
removeNode
source§impl PartialEq<EvaluateOnCallFrameParams> for EvaluateOnCallFrameParams
impl PartialEq<EvaluateOnCallFrameParams> for EvaluateOnCallFrameParams
source§fn eq(&self, other: &EvaluateOnCallFrameParams) -> bool
fn eq(&self, other: &EvaluateOnCallFrameParams) -> bool
self
and other
values to be equal, and is used
by ==
.