pub struct FrameSnapshot {
pub frame_id: String,
pub url: String,
pub name: Option<String>,
pub parent_frame_id: Option<String>,
pub child_frame_ids: Vec<String>,
pub timestamp: u64,
pub html_content: Option<String>,
pub dom_depth: Option<usize>,
}Expand description
Frame snapshot data
Fields§
§frame_id: StringFrame ID
url: StringFrame URL
name: Option<String>Frame Name
parent_frame_id: Option<String>Parent Frame ID
child_frame_ids: Vec<String>Child Frame IDs
timestamp: u64Snapshot timestamp
html_content: Option<String>HTML content (optional)
dom_depth: Option<usize>DOM tree depth
Trait Implementations§
Source§impl Clone for FrameSnapshot
impl Clone for FrameSnapshot
Source§fn clone(&self) -> FrameSnapshot
fn clone(&self) -> FrameSnapshot
Returns a duplicate 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 FrameSnapshot
impl Debug for FrameSnapshot
Source§impl<'de> Deserialize<'de> for FrameSnapshot
impl<'de> Deserialize<'de> for FrameSnapshot
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
Auto Trait Implementations§
impl Freeze for FrameSnapshot
impl RefUnwindSafe for FrameSnapshot
impl Send for FrameSnapshot
impl Sync for FrameSnapshot
impl Unpin for FrameSnapshot
impl UnwindSafe for FrameSnapshot
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more