Struct aws_sdk_iot::model::TimestreamTimestamp [−][src]
#[non_exhaustive]pub struct TimestreamTimestamp {
pub value: Option<String>,
pub unit: Option<String>,
}
Expand description
Describes how to interpret an application-defined timestamp value from an MQTT message payload and the precision of that value.
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.value: Option<String>
An expression that returns a long epoch time value.
unit: Option<String>
The precision of the timestamp value that results from the expression
described in value
.
Valid values: SECONDS
| MILLISECONDS
|
MICROSECONDS
| NANOSECONDS
. The default is
MILLISECONDS
.
Implementations
Creates a new builder-style object to manufacture TimestreamTimestamp
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TimestreamTimestamp
impl Send for TimestreamTimestamp
impl Sync for TimestreamTimestamp
impl Unpin for TimestreamTimestamp
impl UnwindSafe for TimestreamTimestamp
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more