Struct headless_chrome::protocol::cdp::DOMSnapshot::DocumentSnapshot
source · pub struct DocumentSnapshot {Show 15 fields
pub document_url: StringIndex,
pub title: StringIndex,
pub base_url: StringIndex,
pub content_language: StringIndex,
pub encoding_name: StringIndex,
pub public_id: StringIndex,
pub system_id: StringIndex,
pub frame_id: StringIndex,
pub nodes: NodeTreeSnapshot,
pub layout: LayoutTreeSnapshot,
pub text_boxes: TextBoxSnapshot,
pub scroll_offset_x: Option<JsFloat>,
pub scroll_offset_y: Option<JsFloat>,
pub content_width: Option<JsFloat>,
pub content_height: Option<JsFloat>,
}Fields§
§document_url: StringIndex§title: StringIndex§base_url: StringIndex§content_language: StringIndex§encoding_name: StringIndex§public_id: StringIndex§system_id: StringIndex§frame_id: StringIndex§nodes: NodeTreeSnapshot§layout: LayoutTreeSnapshot§text_boxes: TextBoxSnapshot§scroll_offset_x: Option<JsFloat>§scroll_offset_y: Option<JsFloat>§content_width: Option<JsFloat>§content_height: Option<JsFloat>Trait Implementations§
source§impl Clone for DocumentSnapshot
impl Clone for DocumentSnapshot
source§fn clone(&self) -> DocumentSnapshot
fn clone(&self) -> DocumentSnapshot
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DocumentSnapshot
impl Debug for DocumentSnapshot
source§impl<'de> Deserialize<'de> for DocumentSnapshot
impl<'de> Deserialize<'de> for DocumentSnapshot
source§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