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

pub struct Frame {
    pub id: FrameId,
    pub parent_id: Option<String>,
    pub loader_id: LoaderId,
    pub name: Option<String>,
    pub url: String,
    pub url_fragment: Option<String>,
    pub domain_and_registry: String,
    pub security_origin: String,
    pub mime_type: String,
    pub unreachable_url: Option<String>,
    pub ad_frame_type: Option<AdFrameType>,
    pub secure_context_type: SecureContextType,
    pub cross_origin_isolated_context_type: CrossOriginIsolatedContextType,
}

Information about the Frame on the page. Frame

Fields

id: FrameId

Frame unique identifier.

parent_id: Option<String>

Parent frame identifier.

loader_id: LoaderId

Identifier of the loader associated with this frame.

name: Option<String>

Frame’s name as specified in the tag.

url: String

Frame document’s URL without fragment.

url_fragment: Option<String>

Frame document’s URL fragment including the ‘#’.

domain_and_registry: String

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”

security_origin: String

Frame document’s security origin.

mime_type: String

Frame document’s mimeType as determined by the browser.

unreachable_url: Option<String>

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.

ad_frame_type: Option<AdFrameType>

Indicates whether this frame was tagged as an ad.

secure_context_type: SecureContextType

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

cross_origin_isolated_context_type: CrossOriginIsolatedContextType

Indicates whether this is a cross origin isolated context.

Implementations

impl Frame[src]

impl Frame[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for Frame[src]

impl Debug for Frame[src]

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

impl From<Frame> for Frame[src]

impl PartialEq<Frame> for Frame[src]

impl Serialize for Frame[src]

impl StructuralPartialEq for Frame[src]

Auto Trait Implementations

impl RefUnwindSafe for Frame

impl Send for Frame

impl Sync for Frame

impl Unpin for Frame

impl UnwindSafe for Frame

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> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,