pub struct AddBindingReturnObject(pub Option<Value>);Expand description
If executionContextId is empty, adds binding with the given name on the global objects of all inspected contexts, including those created later, bindings survive reloads. Binding function takes exactly one argument, this argument should be string, in case of any other input, function throws an exception. Each binding function call produces Runtime.bindingCalled notification.
Tuple Fields§
§0: Option<Value>Trait Implementations§
Source§impl Clone for AddBindingReturnObject
impl Clone for AddBindingReturnObject
Source§fn clone(&self) -> AddBindingReturnObject
fn clone(&self) -> AddBindingReturnObject
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 AddBindingReturnObject
impl Debug for AddBindingReturnObject
Source§impl<'de> Deserialize<'de> for AddBindingReturnObject
impl<'de> Deserialize<'de> for AddBindingReturnObject
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AddBindingReturnObject
impl PartialEq for AddBindingReturnObject
Source§impl Serialize for AddBindingReturnObject
impl Serialize for AddBindingReturnObject
impl StructuralPartialEq for AddBindingReturnObject
Auto Trait Implementations§
impl Freeze for AddBindingReturnObject
impl RefUnwindSafe for AddBindingReturnObject
impl Send for AddBindingReturnObject
impl Sync for AddBindingReturnObject
impl Unpin for AddBindingReturnObject
impl UnsafeUnpin for AddBindingReturnObject
impl UnwindSafe for AddBindingReturnObject
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