Struct aws_sdk_ssm::types::InventoryResultItem
source · #[non_exhaustive]pub struct InventoryResultItem {
pub type_name: String,
pub schema_version: String,
pub capture_time: Option<String>,
pub content_hash: Option<String>,
pub content: Vec<HashMap<String, String>>,
}
Expand description
The inventory result item.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.type_name: String
The name of the inventory result item type.
schema_version: String
The schema version for the inventory result item/
capture_time: Option<String>
The time inventory item data was captured.
content_hash: Option<String>
MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API doesn't update the inventory item type contents if the MD5 hash hasn't changed since last update.
content: Vec<HashMap<String, String>>
Contains all the inventory data of the item type. Results include attribute names and values.
Implementations§
source§impl InventoryResultItem
impl InventoryResultItem
sourcepub fn schema_version(&self) -> &str
pub fn schema_version(&self) -> &str
The schema version for the inventory result item/
sourcepub fn capture_time(&self) -> Option<&str>
pub fn capture_time(&self) -> Option<&str>
The time inventory item data was captured.
sourcepub fn content_hash(&self) -> Option<&str>
pub fn content_hash(&self) -> Option<&str>
MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API doesn't update the inventory item type contents if the MD5 hash hasn't changed since last update.
source§impl InventoryResultItem
impl InventoryResultItem
sourcepub fn builder() -> InventoryResultItemBuilder
pub fn builder() -> InventoryResultItemBuilder
Creates a new builder-style object to manufacture InventoryResultItem
.
Trait Implementations§
source§impl Clone for InventoryResultItem
impl Clone for InventoryResultItem
source§fn clone(&self) -> InventoryResultItem
fn clone(&self) -> InventoryResultItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InventoryResultItem
impl Debug for InventoryResultItem
source§impl PartialEq for InventoryResultItem
impl PartialEq for InventoryResultItem
source§fn eq(&self, other: &InventoryResultItem) -> bool
fn eq(&self, other: &InventoryResultItem) -> bool
self
and other
values to be equal, and is used
by ==
.