Struct chrome_remote_interface_model::page::FrameBuilder[][src]

pub struct FrameBuilder { /* fields omitted */ }

Implementations

impl FrameBuilder[src]

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

Frame unique identifier.

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

Parent frame identifier.

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

Identifier of the loader associated with this frame.

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

Frame's name as specified in the tag.

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

Frame document's URL without fragment.

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

Frame document's URL fragment including the '#'.

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

Frame document's registered domain, taking the public suffixes list into account. Extracted from the Frame's url. Example URLs: http://www.google.com/file.html -> "google.com" http://a.b.co.uk/file.html -> "b.co.uk"

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

Frame document's security origin.

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

Frame document's mimeType as determined by the browser.

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

If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment.

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

Indicates whether this frame was tagged as an ad.

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

Indicates whether the main document is a secure context and explains why that is the case.

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

Indicates whether this is a cross origin isolated context.

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

Indicated which gated APIs / features are available.

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

Trait Implementations

impl Clone for FrameBuilder[src]

impl Debug for FrameBuilder[src]

impl Default for FrameBuilder[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.