Struct aws_sdk_iotanalytics::types::TimestampPartition
source · #[non_exhaustive]pub struct TimestampPartition {
pub attribute_name: String,
pub timestamp_format: Option<String>,
}
Expand description
A partition dimension defined by a timestamp attribute.
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.attribute_name: String
The attribute name of the partition defined by a timestamp.
timestamp_format: Option<String>
The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time).
Implementations§
source§impl TimestampPartition
impl TimestampPartition
sourcepub fn attribute_name(&self) -> &str
pub fn attribute_name(&self) -> &str
The attribute name of the partition defined by a timestamp.
sourcepub fn timestamp_format(&self) -> Option<&str>
pub fn timestamp_format(&self) -> Option<&str>
The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time).
source§impl TimestampPartition
impl TimestampPartition
sourcepub fn builder() -> TimestampPartitionBuilder
pub fn builder() -> TimestampPartitionBuilder
Creates a new builder-style object to manufacture TimestampPartition
.
Trait Implementations§
source§impl Clone for TimestampPartition
impl Clone for TimestampPartition
source§fn clone(&self) -> TimestampPartition
fn clone(&self) -> TimestampPartition
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 TimestampPartition
impl Debug for TimestampPartition
source§impl PartialEq for TimestampPartition
impl PartialEq for TimestampPartition
source§fn eq(&self, other: &TimestampPartition) -> bool
fn eq(&self, other: &TimestampPartition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TimestampPartition
Auto Trait Implementations§
impl Freeze for TimestampPartition
impl RefUnwindSafe for TimestampPartition
impl Send for TimestampPartition
impl Sync for TimestampPartition
impl Unpin for TimestampPartition
impl UnwindSafe for TimestampPartition
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>
Creates a shared type from an unshared type.