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
id: Cow<'a, str>
Frame unique identifier.
parent_id: Option<Cow<'a, str>>
Parent frame identifier.
loader_id: LoaderId<'a>
Identifier of the loader associated with this frame.
name: Option<Cow<'a, str>>
Frame's name as specified in the tag.
url: Cow<'a, str>
Frame document's URL.
security_origin: Cow<'a, str>
Frame document's security origin.
mime_type: Cow<'a, str>
Frame document's mimeType as determined by the browser.
unreachable_url: Option<Cow<'a, str>>
[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]
fn clone(&self) -> Frame<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more