pub struct EvaluateReturns {
pub result: RemoteObject,
pub exception_details: Option<ExceptionDetails>,
pub eval_as_function_fallback: Option<bool>,
}
Expand description
Evaluates expression on global object. evaluate
Fields§
§result: RemoteObject
Evaluation result.
exception_details: Option<ExceptionDetails>
Exception details.
eval_as_function_fallback: Option<bool>
This is a manually added field that is not part of the protocol definition, hence ignored during serde operations.
If set to true, this field indicates, that if the command resulted in a response value of type function
this, EvaluateParams
command should be executed as a CallFunctionOnParams
instead.
Implementations§
Source§impl EvaluateReturns
impl EvaluateReturns
pub fn new(result: impl Into<RemoteObject>) -> EvaluateReturns
Source§impl EvaluateReturns
impl EvaluateReturns
pub fn builder() -> EvaluateReturnsBuilder
Trait Implementations§
Source§impl Clone for EvaluateReturns
impl Clone for EvaluateReturns
Source§fn clone(&self) -> EvaluateReturns
fn clone(&self) -> EvaluateReturns
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 Debug for EvaluateReturns
impl Debug for EvaluateReturns
Source§impl<'de> Deserialize<'de> for EvaluateReturns
impl<'de> Deserialize<'de> for EvaluateReturns
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EvaluateReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EvaluateReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EvaluateReturns
impl PartialEq for EvaluateReturns
Source§impl Serialize for EvaluateReturns
impl Serialize for EvaluateReturns
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 EvaluateReturns
Auto Trait Implementations§
impl Freeze for EvaluateReturns
impl RefUnwindSafe for EvaluateReturns
impl Send for EvaluateReturns
impl Sync for EvaluateReturns
impl Unpin for EvaluateReturns
impl UnwindSafe for EvaluateReturns
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§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>
Converts
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>
Converts
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