pub struct Snapshot {
pub strings: Vec<String>,
pub windows: Vec<Window>,
pub node_count: u32,
pub truncated: Truncation,
pub seq: u64,
}Expand description
One tree read across the interactive windows.
Fields§
§strings: Vec<String>The string table that Node::class, Node::res_pkg and
Window::package index into.
windows: Vec<Window>Interactive windows, top-most first.
node_count: u32Nodes in this snapshot, across all windows.
truncated: TruncationWhich bounds cut the walk short; empty when the tree is complete.
seq: u64The last tree-stream event sequence number the agent had sent when it read the tree, so a consumer knows which events the snapshot reflects.
Trait Implementations§
impl Eq for Snapshot
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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