[][src]Struct headless_chrome::protocol::target::methods::CreateTarget

pub struct CreateTarget<'a> {
    pub url: &'a str,
    pub width: Option<JsInt>,
    pub height: Option<JsInt>,
    pub browser_context_id: Option<&'a str>,
    pub enable_begin_frame_control: Option<bool>,
}

Fields

url: &'a strwidth: Option<JsInt>

Frame width in DIP (headless chrome only).

height: Option<JsInt>

Frame height in DIP (headless chrome only).

browser_context_id: Option<&'a str>enable_begin_frame_control: Option<bool>

Trait Implementations

impl<'a> Method for CreateTarget<'a>[src]

type ReturnObject = CreateTargetReturnObject

fn to_method_call(self, call_id: CallId) -> MethodCall<Self> where
    Self: Sized
[src]

impl<'a> Debug for CreateTarget<'a>[src]

impl<'a> Serialize for CreateTarget<'a>[src]

Auto Trait Implementations

impl<'a> Unpin for CreateTarget<'a>

impl<'a> Send for CreateTarget<'a>

impl<'a> Sync for CreateTarget<'a>

impl<'a> UnwindSafe for CreateTarget<'a>

impl<'a> RefUnwindSafe for CreateTarget<'a>

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.