pub struct ThingTypeMetadata {
pub creation_date: Option<f64>,
pub deprecated: Option<bool>,
pub deprecation_date: Option<f64>,
}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.
Fields§
§creation_date: Option<f64>The date and time when the thing type was created.
deprecated: Option<bool>Whether the thing type is deprecated. If true, no new things could be associated with this type.
deprecation_date: Option<f64>The date and time when the thing type was deprecated.
Trait Implementations§
Source§impl Clone for ThingTypeMetadata
impl Clone for ThingTypeMetadata
Source§fn clone(&self) -> ThingTypeMetadata
fn clone(&self) -> ThingTypeMetadata
Returns a duplicate 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 Default for ThingTypeMetadata
impl Default for ThingTypeMetadata
Source§fn default() -> ThingTypeMetadata
fn default() -> ThingTypeMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThingTypeMetadata
impl<'de> Deserialize<'de> for ThingTypeMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ThingTypeMetadata
impl PartialEq for ThingTypeMetadata
impl StructuralPartialEq for ThingTypeMetadata
Auto Trait Implementations§
impl Freeze for ThingTypeMetadata
impl RefUnwindSafe for ThingTypeMetadata
impl Send for ThingTypeMetadata
impl Sync for ThingTypeMetadata
impl Unpin for ThingTypeMetadata
impl UnwindSafe for ThingTypeMetadata
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