pub struct InventoryMeta {
pub hash: String,
pub collected_at: u64,
pub node_count: usize,
pub schema_version: u32,
}Expand description
Metadata about an inventory snapshot.
Fields§
§hash: StringHash of the inventory contents for change detection.
collected_at: u64Timestamp when the inventory was collected (Unix epoch ms).
node_count: usizeNumber of test nodes in the inventory.
schema_version: u32Schema version used for this inventory.
Trait Implementations§
Source§impl Clone for InventoryMeta
impl Clone for InventoryMeta
Source§fn clone(&self) -> InventoryMeta
fn clone(&self) -> InventoryMeta
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 InventoryMeta
impl Debug for InventoryMeta
Source§impl Default for InventoryMeta
impl Default for InventoryMeta
Source§impl<'de> Deserialize<'de> for InventoryMeta
impl<'de> Deserialize<'de> for InventoryMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InventoryMeta
impl RefUnwindSafe for InventoryMeta
impl Send for InventoryMeta
impl Sync for InventoryMeta
impl Unpin for InventoryMeta
impl UnwindSafe for InventoryMeta
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