Struct chrome_remote_interface_model::target::TargetInfoBuilder[][src]

pub struct TargetInfoBuilder { /* fields omitted */ }

Implementations

impl TargetInfoBuilder[src]

pub fn target_id(&mut self, v: TargetId) -> &mut Self[src]

pub fn type(&mut self, v: String) -> &mut Self[src]

pub fn title(&mut self, v: String) -> &mut Self[src]

pub fn url(&mut self, v: String) -> &mut Self[src]

pub fn attached(&mut self, v: bool) -> &mut Self[src]

Whether the target has an attached client.

pub fn opener_id(&mut self, v: TargetId) -> &mut Self[src]

Opener target Id

pub fn can_access_opener(&mut self, v: bool) -> &mut Self[src]

Whether the target has access to the originating window.

pub fn opener_frame_id(&mut self, v: FrameId) -> &mut Self[src]

Frame id of originating window (is only set if target has an opener).

pub fn browser_context_id(&mut self, v: JsonValue) -> &mut Self[src]

pub fn build(&mut self) -> Result<TargetInfo, &'static str>[src]

Trait Implementations

impl Clone for TargetInfoBuilder[src]

impl Debug for TargetInfoBuilder[src]

impl Default for TargetInfoBuilder[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> From<T> for T[src]

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

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.