Struct chrome_remote_interface_model::page::FrameNavigatedEvent[][src]

pub struct FrameNavigatedEvent { /* fields omitted */ }
This is supported on crate features Page and Debugger and DOM and IO and Network and Runtime only.

Fired once navigation of the frame has completed. Frame is now associated with the new loader.

Implementations

impl FrameNavigatedEvent[src]

pub fn new(frame: Frame) -> Self[src]

pub fn frame(&self) -> &Frame[src]

Frame object.

Methods from Deref<Target = Frame>

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]

This is supported on crate feature experimental only.

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

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

This is supported on crate feature experimental only.

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]

This is supported on crate feature experimental only.

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]

This is supported on crate feature experimental only.

Indicates whether this frame was tagged as an ad.

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

This is supported on crate feature experimental only.

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]

This is supported on crate feature experimental only.

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]

This is supported on crate feature experimental only.

Indicated which gated APIs / features are available.

Trait Implementations

impl Clone for FrameNavigatedEvent[src]

impl Debug for FrameNavigatedEvent[src]

impl Deref for FrameNavigatedEvent[src]

type Target = Frame

The resulting type after dereferencing.

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

impl Serialize for FrameNavigatedEvent[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.