Struct aws_sdk_ssm::types::InventoryItemSchema
source · #[non_exhaustive]pub struct InventoryItemSchema {
pub type_name: String,
pub version: Option<String>,
pub attributes: Vec<InventoryItemAttribute>,
pub display_name: Option<String>,
}
Expand description
The inventory item schema definition. Users can use this to compose inventory query filters.
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 type. Default inventory item type names start with Amazon Web Services. Custom inventory type names will start with Custom. Default inventory item types include the following: AWS:AWSComponent
, AWS:Application
, AWS:InstanceInformation
, AWS:Network
, and AWS:WindowsUpdate
.
version: Option<String>
The schema version for the inventory item.
attributes: Vec<InventoryItemAttribute>
The schema attributes for inventory. This contains data type and attribute name.
display_name: Option<String>
The alias name of the inventory type. The alias name is used for display purposes.
Implementations§
source§impl InventoryItemSchema
impl InventoryItemSchema
sourcepub fn type_name(&self) -> &str
pub fn type_name(&self) -> &str
The name of the inventory type. Default inventory item type names start with Amazon Web Services. Custom inventory type names will start with Custom. Default inventory item types include the following: AWS:AWSComponent
, AWS:Application
, AWS:InstanceInformation
, AWS:Network
, and AWS:WindowsUpdate
.
sourcepub fn attributes(&self) -> &[InventoryItemAttribute]
pub fn attributes(&self) -> &[InventoryItemAttribute]
The schema attributes for inventory. This contains data type and attribute name.
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The alias name of the inventory type. The alias name is used for display purposes.
source§impl InventoryItemSchema
impl InventoryItemSchema
sourcepub fn builder() -> InventoryItemSchemaBuilder
pub fn builder() -> InventoryItemSchemaBuilder
Creates a new builder-style object to manufacture InventoryItemSchema
.
Trait Implementations§
source§impl Clone for InventoryItemSchema
impl Clone for InventoryItemSchema
source§fn clone(&self) -> InventoryItemSchema
fn clone(&self) -> InventoryItemSchema
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InventoryItemSchema
impl Debug for InventoryItemSchema
source§impl PartialEq for InventoryItemSchema
impl PartialEq for InventoryItemSchema
impl StructuralPartialEq for InventoryItemSchema
Auto Trait Implementations§
impl Freeze for InventoryItemSchema
impl RefUnwindSafe for InventoryItemSchema
impl Send for InventoryItemSchema
impl Sync for InventoryItemSchema
impl Unpin for InventoryItemSchema
impl UnwindSafe for InventoryItemSchema
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