Struct aws_sdk_iot::model::ThingTypeMetadata
source · #[non_exhaustive]pub struct ThingTypeMetadata { /* private fields */ }
Expand description
The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when time was deprecated.
Implementations§
source§impl ThingTypeMetadata
impl ThingTypeMetadata
sourcepub fn deprecated(&self) -> bool
pub fn deprecated(&self) -> bool
Whether the thing type is deprecated. If true, no new things could be associated with this type.
sourcepub fn deprecation_date(&self) -> Option<&DateTime>
pub fn deprecation_date(&self) -> Option<&DateTime>
The date and time when the thing type was deprecated.
sourcepub fn creation_date(&self) -> Option<&DateTime>
pub fn creation_date(&self) -> Option<&DateTime>
The date and time when the thing type was created.
source§impl ThingTypeMetadata
impl ThingTypeMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ThingTypeMetadata
.
Trait Implementations§
source§impl Clone for ThingTypeMetadata
impl Clone for ThingTypeMetadata
source§fn clone(&self) -> ThingTypeMetadata
fn clone(&self) -> ThingTypeMetadata
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 ThingTypeMetadata
impl Debug for ThingTypeMetadata
source§impl PartialEq<ThingTypeMetadata> for ThingTypeMetadata
impl PartialEq<ThingTypeMetadata> for ThingTypeMetadata
source§fn eq(&self, other: &ThingTypeMetadata) -> bool
fn eq(&self, other: &ThingTypeMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.