#[non_exhaustive]pub struct ConfigurationTag {
pub configuration_type: Option<ConfigurationItemType>,
pub configuration_id: Option<String>,
pub key: Option<String>,
pub value: Option<String>,
pub time_of_creation: Option<DateTime>,
}
Expand description
Tags for a configuration item. Tags are metadata that help you categorize IT assets.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.configuration_type: Option<ConfigurationItemType>
A type of IT asset to tag.
configuration_id: Option<String>
The configuration ID for the item to tag. You can specify a list of keys and values.
key: Option<String>
A type of tag on which to filter. For example, serverType.
value: Option<String>
A value on which to filter. For example key = serverType and value = web server.
time_of_creation: Option<DateTime>
The time the configuration tag was created in Coordinated Universal Time (UTC).
Implementations§
source§impl ConfigurationTag
impl ConfigurationTag
sourcepub fn configuration_type(&self) -> Option<&ConfigurationItemType>
pub fn configuration_type(&self) -> Option<&ConfigurationItemType>
A type of IT asset to tag.
sourcepub fn configuration_id(&self) -> Option<&str>
pub fn configuration_id(&self) -> Option<&str>
The configuration ID for the item to tag. You can specify a list of keys and values.
sourcepub fn value(&self) -> Option<&str>
pub fn value(&self) -> Option<&str>
A value on which to filter. For example key = serverType and value = web server.
sourcepub fn time_of_creation(&self) -> Option<&DateTime>
pub fn time_of_creation(&self) -> Option<&DateTime>
The time the configuration tag was created in Coordinated Universal Time (UTC).
source§impl ConfigurationTag
impl ConfigurationTag
sourcepub fn builder() -> ConfigurationTagBuilder
pub fn builder() -> ConfigurationTagBuilder
Creates a new builder-style object to manufacture ConfigurationTag
.
Trait Implementations§
source§impl Clone for ConfigurationTag
impl Clone for ConfigurationTag
source§fn clone(&self) -> ConfigurationTag
fn clone(&self) -> ConfigurationTag
Returns a copy of the value. Read more
1.0.0 · 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 ConfigurationTag
impl Debug for ConfigurationTag
source§impl PartialEq for ConfigurationTag
impl PartialEq for ConfigurationTag
source§fn eq(&self, other: &ConfigurationTag) -> bool
fn eq(&self, other: &ConfigurationTag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConfigurationTag
Auto Trait Implementations§
impl Freeze for ConfigurationTag
impl RefUnwindSafe for ConfigurationTag
impl Send for ConfigurationTag
impl Sync for ConfigurationTag
impl Unpin for ConfigurationTag
impl UnwindSafe for ConfigurationTag
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.