pub struct SnapshotSignature {
pub url: String,
pub title: Option<String>,
pub interactable_uids: BTreeSet<String>,
pub content_digest: BTreeMap<String, String>,
pub console_errors: usize,
}Expand description
A cheap fingerprint of page state, captured before and after an action.
Fields§
§url: StringCurrent page URL.
title: Option<String>The page title / RootWebArea accessible name, if present.
interactable_uids: BTreeSet<String>Set of interactable element handles present in the snapshot.
content_digest: BTreeMap<String, String>Per-uid content fingerprint covering everything after the uid=N_M
token (role, accessible name, value=, and other attributes). This is
what catches in-place changes such as a field whose value="..." was
set, or an element relabeled while keeping its uid — changes that leave
the URL, the title, and the interactable-uid set all untouched. Omitting
it caused the top “Illusion of Progress / Incomplete Steps” false-NoOp:
a successful fill reported as a no-op.
console_errors: usizeCount of console error lines observed (a negative signal).
Trait Implementations§
Source§impl Clone for SnapshotSignature
impl Clone for SnapshotSignature
Source§fn clone(&self) -> SnapshotSignature
fn clone(&self) -> SnapshotSignature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SnapshotSignature
impl Debug for SnapshotSignature
impl Eq for SnapshotSignature
Source§impl PartialEq for SnapshotSignature
impl PartialEq for SnapshotSignature
Source§fn eq(&self, other: &SnapshotSignature) -> bool
fn eq(&self, other: &SnapshotSignature) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SnapshotSignature
Auto Trait Implementations§
impl Freeze for SnapshotSignature
impl RefUnwindSafe for SnapshotSignature
impl Send for SnapshotSignature
impl Sync for SnapshotSignature
impl Unpin for SnapshotSignature
impl UnsafeUnpin for SnapshotSignature
impl UnwindSafe for SnapshotSignature
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.