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

pub struct Frame {
Show fields 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,
}
Expand description

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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

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

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.