Struct cdp::page::Frame [] [src]

pub struct Frame<'a> {
    pub id: Cow<'a, str>,
    pub parent_id: Option<Cow<'a, str>>,
    pub loader_id: LoaderId<'a>,
    pub name: Option<Cow<'a, str>>,
    pub url: Cow<'a, str>,
    pub security_origin: Cow<'a, str>,
    pub mime_type: Cow<'a, str>,
    pub unreachable_url: Option<Cow<'a, str>>,
}

Information about the Frame on the page.

Fields

Frame unique identifier.

Parent frame identifier.

Identifier of the loader associated with this frame.

Frame's name as specified in the tag.

Frame document's URL.

Frame document's security origin.

Frame document's mimeType as determined by the browser.

[Experimental] If the frame failed to load, this contains the URL that could not be loaded.

Trait Implementations

impl<'a> Clone for Frame<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for Frame<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.