pub struct InventorySliceObservation {
pub sequence: u64,
pub backend: InventorySliceBackend,
pub nodes_returned: u64,
pub has_more: bool,
pub native_operations: u64,
pub elapsed_ms: u64,
pub entries_seen: u64,
pub unique_items: u64,
}Expand description
Observation emitted after each bounded inventory slice.
A slice is one page-sized inventory step. Native DA2 enumeration may use
several COM calls to produce one slice; native_operations reports that
bounded work without exposing COM implementation details.
Fields§
§sequence: u64Monotonically increasing slice number, starting at one.
backend: InventorySliceBackendNative browsing protocol used by the slice.
nodes_returned: u64Number of nodes returned by the slice.
has_more: boolWhether another slice remains for the same branch.
native_operations: u64Number of bounded native operations performed for this slice.
elapsed_ms: u64Wall-clock duration of the slice, including pacing waits.
entries_seen: u64Total native nodes observed through this slice.
unique_items: u64Total unique item IDs observed through this slice.
Trait Implementations§
Source§impl Clone for InventorySliceObservation
impl Clone for InventorySliceObservation
Source§fn clone(&self) -> InventorySliceObservation
fn clone(&self) -> InventorySliceObservation
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 InventorySliceObservation
impl Debug for InventorySliceObservation
impl Eq for InventorySliceObservation
impl StructuralPartialEq for InventorySliceObservation
Auto Trait Implementations§
impl Freeze for InventorySliceObservation
impl RefUnwindSafe for InventorySliceObservation
impl Send for InventorySliceObservation
impl Sync for InventorySliceObservation
impl Unpin for InventorySliceObservation
impl UnsafeUnpin for InventorySliceObservation
impl UnwindSafe for InventorySliceObservation
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