pub struct CallFunctionOnBuilder { /* private fields */ }Implementations§
Source§impl CallFunctionOnBuilder
impl CallFunctionOnBuilder
pub fn function_declaration( self, function_declaration: impl Into<String>, ) -> Self
pub fn object_id(self, object_id: impl Into<RemoteObjectId>) -> Self
pub fn argument(self, argument: impl Into<CallArgument>) -> Self
pub fn arguments<I, S>(self, arguments: I) -> Self
pub fn silent(self, silent: impl Into<bool>) -> Self
pub fn return_by_value(self, return_by_value: impl Into<bool>) -> Self
pub fn generate_preview(self, generate_preview: impl Into<bool>) -> Self
pub fn user_gesture(self, user_gesture: impl Into<bool>) -> Self
pub fn await_promise(self, await_promise: impl Into<bool>) -> Self
pub fn execution_context_id( self, execution_context_id: impl Into<ExecutionContextId>, ) -> Self
pub fn object_group(self, object_group: impl Into<String>) -> Self
pub fn throw_on_side_effect(self, throw_on_side_effect: impl Into<bool>) -> Self
pub fn unique_context_id(self, unique_context_id: impl Into<String>) -> Self
pub fn serialization_options( self, serialization_options: impl Into<SerializationOptions>, ) -> Self
pub fn build(self) -> Result<CallFunctionOn, String>
Trait Implementations§
Source§impl Clone for CallFunctionOnBuilder
impl Clone for CallFunctionOnBuilder
Source§fn clone(&self) -> CallFunctionOnBuilder
fn clone(&self) -> CallFunctionOnBuilder
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 Default for CallFunctionOnBuilder
impl Default for CallFunctionOnBuilder
Source§fn default() -> CallFunctionOnBuilder
fn default() -> CallFunctionOnBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CallFunctionOnBuilder
impl RefUnwindSafe for CallFunctionOnBuilder
impl Send for CallFunctionOnBuilder
impl Sync for CallFunctionOnBuilder
impl Unpin for CallFunctionOnBuilder
impl UnsafeUnpin for CallFunctionOnBuilder
impl UnwindSafe for CallFunctionOnBuilder
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