pub struct Builder { /* private fields */ }
Expand description
A builder for TimestampStructure
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn value(self, input: DateTime) -> Self
pub fn value(self, input: DateTime) -> Self
A Timestamp
. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn set_value(self, input: Option<DateTime>) -> Self
pub fn set_value(self, input: Option<DateTime>) -> Self
A Timestamp
. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn build(self) -> TimestampStructure
pub fn build(self) -> TimestampStructure
Consumes the builder and constructs a TimestampStructure
.