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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Frame
impl UnwindSafe for Frame
Blanket Implementations
Mutably borrows from an owned value. Read more