pub struct DomSnapshot {
pub url: String,
pub title: Option<String>,
pub viewport: (u32, u32),
pub captured_at: i64,
pub interactive: Vec<DomElementDescriptor>,
pub interactive_text: Option<String>,
}Fields§
§url: String§title: Option<String>§viewport: (u32, u32)§captured_at: i64§interactive: Vec<DomElementDescriptor>§interactive_text: Option<String>Trait Implementations§
Source§impl Clone for DomSnapshot
impl Clone for DomSnapshot
Source§fn clone(&self) -> DomSnapshot
fn clone(&self) -> DomSnapshot
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 DomSnapshot
impl Debug for DomSnapshot
Source§impl<'de> Deserialize<'de> for DomSnapshot
impl<'de> Deserialize<'de> for DomSnapshot
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DomSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DomSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DomSnapshot
impl Serialize for DomSnapshot
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for DomSnapshot
impl RefUnwindSafe for DomSnapshot
impl Send for DomSnapshot
impl Sync for DomSnapshot
impl Unpin for DomSnapshot
impl UnwindSafe for DomSnapshot
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