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
impl StructuralPartialEq for InventoryResultItem
Auto Trait Implementations§
impl Freeze for InventoryResultItem
impl RefUnwindSafe for InventoryResultItem
impl Send for InventoryResultItem
impl Sync for InventoryResultItem
impl Unpin for InventoryResultItem
impl UnwindSafe for InventoryResultItem
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more