Struct chromiumoxide::cdp::js_protocol::runtime::EvaluateReturns
source · 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§fn eq(&self, other: &EvaluateReturns) -> bool
fn eq(&self, other: &EvaluateReturns) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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 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