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
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 Serialize for EvaluateOnCallFrameParams
impl Serialize for EvaluateOnCallFrameParams
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,
impl StructuralPartialEq for EvaluateOnCallFrameParams
Auto Trait Implementations§
impl Freeze for EvaluateOnCallFrameParams
impl RefUnwindSafe for EvaluateOnCallFrameParams
impl Send for EvaluateOnCallFrameParams
impl Sync for EvaluateOnCallFrameParams
impl Unpin for EvaluateOnCallFrameParams
impl UnwindSafe for EvaluateOnCallFrameParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more