pub struct AddBindingParams {
pub name: String,
pub execution_context_id: Option<ExecutionContextId>,
pub execution_context_name: Option<String>,
}Expand description
Parameters for Runtime.addBinding.
Fields§
§name: StringBinding name.
execution_context_id: Option<ExecutionContextId>If specified, the binding would only be exposed to the specified execution context.
execution_context_name: Option<String>If specified, the binding is exposed to the given execution context name.
Trait Implementations§
Source§impl Clone for AddBindingParams
impl Clone for AddBindingParams
Source§fn clone(&self) -> AddBindingParams
fn clone(&self) -> AddBindingParams
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 AddBindingParams
impl Debug for AddBindingParams
Auto Trait Implementations§
impl Freeze for AddBindingParams
impl RefUnwindSafe for AddBindingParams
impl Send for AddBindingParams
impl Sync for AddBindingParams
impl Unpin for AddBindingParams
impl UnwindSafe for AddBindingParams
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