Struct aws_sdk_iotanalytics::types::DatastorePartition
source · #[non_exhaustive]pub struct DatastorePartition {
pub attribute_partition: Option<Partition>,
pub timestamp_partition: Option<TimestampPartition>,
}
Expand description
A single dimension to partition a data store. The dimension must be an AttributePartition
or a TimestampPartition
.
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_partition: Option<Partition>
A partition dimension defined by an attributeName
.
timestamp_partition: Option<TimestampPartition>
A partition dimension defined by a timestamp attribute.
Implementations§
source§impl DatastorePartition
impl DatastorePartition
sourcepub fn attribute_partition(&self) -> Option<&Partition>
pub fn attribute_partition(&self) -> Option<&Partition>
A partition dimension defined by an attributeName
.
sourcepub fn timestamp_partition(&self) -> Option<&TimestampPartition>
pub fn timestamp_partition(&self) -> Option<&TimestampPartition>
A partition dimension defined by a timestamp attribute.
source§impl DatastorePartition
impl DatastorePartition
sourcepub fn builder() -> DatastorePartitionBuilder
pub fn builder() -> DatastorePartitionBuilder
Creates a new builder-style object to manufacture DatastorePartition
.
Trait Implementations§
source§impl Clone for DatastorePartition
impl Clone for DatastorePartition
source§fn clone(&self) -> DatastorePartition
fn clone(&self) -> DatastorePartition
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 DatastorePartition
impl Debug for DatastorePartition
source§impl PartialEq for DatastorePartition
impl PartialEq for DatastorePartition
source§fn eq(&self, other: &DatastorePartition) -> bool
fn eq(&self, other: &DatastorePartition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DatastorePartition
Auto Trait Implementations§
impl Freeze for DatastorePartition
impl RefUnwindSafe for DatastorePartition
impl Send for DatastorePartition
impl Sync for DatastorePartition
impl Unpin for DatastorePartition
impl UnwindSafe for DatastorePartition
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.