Struct chrome_remote_interface_model::page::Frame[][src]

pub struct Frame { /* fields omitted */ }

Information about the Frame on the page.

Implementations

impl Frame[src]

pub fn builder() -> FrameBuilder[src]

pub fn id(&self) -> &FrameId[src]

Frame unique identifier.

pub fn parent_id(&self) -> Option<&String>[src]

Parent frame identifier.

pub fn loader_id(&self) -> &LoaderId[src]

Identifier of the loader associated with this frame.

pub fn name(&self) -> Option<&String>[src]

Frame's name as specified in the tag.

pub fn url(&self) -> &str[src]

Frame document's URL without fragment.

pub fn url_fragment(&self) -> Option<&String>[src]

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

pub fn domain_and_registry(&self) -> &str[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(&self) -> &str[src]

Frame document's security origin.

pub fn mime_type(&self) -> &str[src]

Frame document's mimeType as determined by the browser.

pub fn unreachable_url(&self) -> Option<&String>[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(&self) -> Option<&JsonValue>[src]

Indicates whether this frame was tagged as an ad.

pub fn secure_context_type(&self) -> &JsonValue[src]

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

pub fn cross_origin_isolated_context_type(&self) -> &JsonValue[src]

Indicates whether this is a cross origin isolated context.

pub fn gated_api_features(&self) -> &[JsonValue]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

Indicated which gated APIs / features are available.

Trait Implementations

impl Clone for Frame[src]

impl Debug for Frame[src]

impl<'de> Deserialize<'de> for Frame[src]

impl Serialize for Frame[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.