Struct cdp::debugger::EvaluateOnCallFrameCommand
[−]
[src]
pub struct EvaluateOnCallFrameCommand<'a> { pub call_frame_id: CallFrameId<'a>, pub expression: Cow<'a, str>, pub object_group: Option<Cow<'a, str>>, 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>, }
Evaluates expression on a given call frame.
Command Debugger.evaluateOnCallFrame
Domain Module: cdp::debugger
Command Struct: cdp::debugger::EvaluateOnCallFrameCommand
Response Struct: cdp::debugger::EvaluateOnCallFrameResponse
Fields
call_frame_id: CallFrameId<'a>
Call frame identifier to evaluate on.
expression: Cow<'a, str>
Expression to evaluate.
object_group: Option<Cow<'a, str>>
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>
[Experimental] Whether preview should be generated for the result.
throw_on_side_effect: Option<bool>
[Experimental] Whether to throw an exception if side effect cannot be ruled out during evaluation.
Trait Implementations
impl<'a> Clone for EvaluateOnCallFrameCommand<'a>
[src]
fn clone(&self) -> EvaluateOnCallFrameCommand<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for EvaluateOnCallFrameCommand<'a>
[src]
impl<'a> PartialEq for EvaluateOnCallFrameCommand<'a>
[src]
fn eq(&self, __arg_0: &EvaluateOnCallFrameCommand<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EvaluateOnCallFrameCommand<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for EvaluateOnCallFrameCommand<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Debugger.evaluateOnCallFrame"
impl<'a> SerializeCdpCommand for EvaluateOnCallFrameCommand<'a>
[src]
fn command_name(&self) -> &str
[src]
fn serialize_command_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
impl<'de, 'a> DeserializeCdpCommand<'de> for EvaluateOnCallFrameCommand<'a>
[src]
fn deserialize_command<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,
[src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,