Struct chromiumoxide::cdp::browser_protocol::target::ExposeDevToolsProtocolParams[][src]

pub struct ExposeDevToolsProtocolParams {
    pub target_id: TargetId,
    pub binding_name: Option<String>,
}

Inject object to the target’s main frame that provides a communication channel with browser target.

Injected object will be available as window[bindingName].

The object has the follwing API:

  • binding.send(json) - a method to send messages over the remote debugging protocol
  • binding.onmessage = json => handleMessage(json) - a callback that will be called for the protocol notifications and command responses. exposeDevToolsProtocol

Fields

target_id: TargetIdbinding_name: Option<String>

Binding name, ‘cdp’ if not specified.

Implementations

impl ExposeDevToolsProtocolParams[src]

impl ExposeDevToolsProtocolParams[src]

impl ExposeDevToolsProtocolParams[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for ExposeDevToolsProtocolParams[src]

impl Command for ExposeDevToolsProtocolParams[src]

type Response = ExposeDevToolsProtocolReturns

The type of the response this request triggers on the chromium server

impl Debug for ExposeDevToolsProtocolParams[src]

impl<'de> Deserialize<'de> for ExposeDevToolsProtocolParams[src]

impl Method for ExposeDevToolsProtocolParams[src]

impl MethodType for ExposeDevToolsProtocolParams[src]

impl PartialEq<ExposeDevToolsProtocolParams> for ExposeDevToolsProtocolParams[src]

impl Serialize for ExposeDevToolsProtocolParams[src]

impl StructuralPartialEq for ExposeDevToolsProtocolParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,