pub struct ObservedInventoryBatch {
pub source_kind: String,
pub inventory_scope: String,
pub controller_platform: Platform,
pub backend: HeartbeatBackend,
pub observed_at: DateTime<Utc>,
pub complete: bool,
pub resources: Vec<ObservedResourceSample>,
}Fields§
§source_kind: StringWriter/source for this inventory pass, such as operator or
manager-observer.
inventory_scope: StringStable scope for the provider list operation that produced this batch.
controller_platform: PlatformPlatform whose observer produced this snapshot.
backend: HeartbeatBackendBackend whose observer produced this snapshot.
observed_at: DateTime<Utc>Time the inventory scope was observed.
complete: boolWhether this batch is a complete replacement for the scope. Complete
batches tombstone previously observed rows in the same scope when they
are absent from resources.
resources: Vec<ObservedResourceSample>Trait Implementations§
Source§impl Clone for ObservedInventoryBatch
impl Clone for ObservedInventoryBatch
Source§fn clone(&self) -> ObservedInventoryBatch
fn clone(&self) -> ObservedInventoryBatch
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 ObservedInventoryBatch
impl Debug for ObservedInventoryBatch
Source§impl<'de> Deserialize<'de> for ObservedInventoryBatch
impl<'de> Deserialize<'de> for ObservedInventoryBatch
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
Source§impl PartialEq for ObservedInventoryBatch
impl PartialEq for ObservedInventoryBatch
Source§fn eq(&self, other: &ObservedInventoryBatch) -> bool
fn eq(&self, other: &ObservedInventoryBatch) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ObservedInventoryBatch
impl Serialize for ObservedInventoryBatch
impl StructuralPartialEq for ObservedInventoryBatch
Auto Trait Implementations§
impl Freeze for ObservedInventoryBatch
impl RefUnwindSafe for ObservedInventoryBatch
impl Send for ObservedInventoryBatch
impl Sync for ObservedInventoryBatch
impl Unpin for ObservedInventoryBatch
impl UnsafeUnpin for ObservedInventoryBatch
impl UnwindSafe for ObservedInventoryBatch
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