Struct aws_sdk_ssm::model::InventoryItemSchema
source · [−]#[non_exhaustive]pub struct InventoryItemSchema {
pub type_name: Option<String>,
pub version: Option<String>,
pub attributes: Option<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: Option<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: Option<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
sourceimpl InventoryItemSchema
impl InventoryItemSchema
sourcepub fn type_name(&self) -> Option<&str>
pub fn type_name(&self) -> Option<&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) -> Option<&[InventoryItemAttribute]>
pub fn attributes(&self) -> Option<&[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.
sourceimpl InventoryItemSchema
impl InventoryItemSchema
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InventoryItemSchema
Trait Implementations
sourceimpl Clone for InventoryItemSchema
impl Clone for InventoryItemSchema
sourcefn clone(&self) -> InventoryItemSchema
fn clone(&self) -> InventoryItemSchema
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InventoryItemSchema
impl Debug for InventoryItemSchema
sourceimpl PartialEq<InventoryItemSchema> for InventoryItemSchema
impl PartialEq<InventoryItemSchema> for InventoryItemSchema
sourcefn eq(&self, other: &InventoryItemSchema) -> bool
fn eq(&self, other: &InventoryItemSchema) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InventoryItemSchema) -> bool
fn ne(&self, other: &InventoryItemSchema) -> bool
This method tests for !=
.
impl StructuralPartialEq for InventoryItemSchema
Auto Trait Implementations
impl RefUnwindSafe for InventoryItemSchema
impl Send for InventoryItemSchema
impl Sync for InventoryItemSchema
impl Unpin for InventoryItemSchema
impl UnwindSafe for InventoryItemSchema
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more