pub struct CallFunctionOnParams {Show 13 fields
pub function_declaration: String,
pub object_id: Option<String>,
pub arguments: Option<Vec<CallArgument>>,
pub silent: Option<bool>,
pub return_by_value: Option<bool>,
pub generate_preview: Option<bool>,
pub user_gesture: Option<bool>,
pub await_promise: Option<bool>,
pub execution_context_id: Option<ExecutionContextId>,
pub object_group: Option<String>,
pub throw_on_side_effect: Option<bool>,
pub unique_context_id: Option<String>,
pub serialization_options: Option<Value>,
}Expand description
Parameters for Runtime.callFunctionOn.
Fields§
§function_declaration: StringDeclaration of the function to call.
object_id: Option<String>Identifier of the object to call function on.
arguments: Option<Vec<CallArgument>>Call arguments.
silent: Option<bool>In silent mode exceptions thrown during evaluation are not reported.
return_by_value: Option<bool>Whether the result is expected to be a JSON object.
generate_preview: Option<bool>Whether to generate preview for the result.
user_gesture: Option<bool>Whether execution should be treated as initiated by user in the UI.
await_promise: Option<bool>Whether execution should await for resulting value.
execution_context_id: Option<ExecutionContextId>Specifies execution context which global object will be used.
object_group: Option<String>Symbolic group name that can be used to release multiple objects.
throw_on_side_effect: Option<bool>Whether to throw an exception if side effect cannot be ruled out.
unique_context_id: Option<String>An alternative way to specify the execution context to call function on.
serialization_options: Option<Value>Specifies the result serialization.
Trait Implementations§
Source§impl Clone for CallFunctionOnParams
impl Clone for CallFunctionOnParams
Source§fn clone(&self) -> CallFunctionOnParams
fn clone(&self) -> CallFunctionOnParams
Returns a duplicate 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 CallFunctionOnParams
impl Debug for CallFunctionOnParams
Auto Trait Implementations§
impl Freeze for CallFunctionOnParams
impl RefUnwindSafe for CallFunctionOnParams
impl Send for CallFunctionOnParams
impl Sync for CallFunctionOnParams
impl Unpin for CallFunctionOnParams
impl UnwindSafe for CallFunctionOnParams
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