pub struct Observation {
pub page_id: String,
pub epoch: u64,
pub url: String,
pub title: String,
pub viewport: Rect,
pub nodes: Vec<ObservedNode>,
pub ax: Vec<AxSummary>,
pub console_errors: usize,
pub added: Vec<String>,
pub removed: Vec<String>,
}Fields§
§page_id: String§epoch: u64§url: String§title: String§viewport: Rect§nodes: Vec<ObservedNode>§ax: Vec<AxSummary>Accessibility summary of the main frame, bounded to depth OBSERVE_AX_DEPTH.
console_errors: usize§added: Vec<String>Refs/roles/names added, removed, or changed since the previous observation.
removed: Vec<String>Trait Implementations§
Source§impl Clone for Observation
impl Clone for Observation
Source§impl Debug for Observation
impl Debug for Observation
Auto Trait Implementations§
impl Forget for Observation
impl Freeze for Observationwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ObservedNode>: Freeze,
PhantomData<AxSummary>: Freeze,
PhantomData<String>: Freeze,
impl Move for Observation
impl RefUnwindSafe for Observation
impl Send for Observationwhere
RawVecInner: Send,
impl Sync for Observationwhere
RawVecInner: Sync,
impl Unpin for Observation
impl UnsafeUnpin for Observationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ObservedNode>: UnsafeUnpin,
PhantomData<AxSummary>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Observationwhere
RawVecInner: UnwindSafe,
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