#[non_exhaustive]pub struct TimestampPartitionBuilder { /* private fields */ }
Expand description
A builder for TimestampPartition
.
Implementations§
source§impl TimestampPartitionBuilder
impl TimestampPartitionBuilder
sourcepub fn attribute_name(self, input: impl Into<String>) -> Self
pub fn attribute_name(self, input: impl Into<String>) -> Self
The attribute name of the partition defined by a timestamp.
sourcepub fn set_attribute_name(self, input: Option<String>) -> Self
pub fn set_attribute_name(self, input: Option<String>) -> Self
The attribute name of the partition defined by a timestamp.
sourcepub fn timestamp_format(self, input: impl Into<String>) -> Self
pub fn timestamp_format(self, input: impl Into<String>) -> Self
The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time).
sourcepub fn set_timestamp_format(self, input: Option<String>) -> Self
pub fn set_timestamp_format(self, input: Option<String>) -> Self
The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time).
sourcepub fn build(self) -> TimestampPartition
pub fn build(self) -> TimestampPartition
Consumes the builder and constructs a TimestampPartition
.
Trait Implementations§
source§impl Clone for TimestampPartitionBuilder
impl Clone for TimestampPartitionBuilder
source§fn clone(&self) -> TimestampPartitionBuilder
fn clone(&self) -> TimestampPartitionBuilder
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 TimestampPartitionBuilder
impl Debug for TimestampPartitionBuilder
source§impl Default for TimestampPartitionBuilder
impl Default for TimestampPartitionBuilder
source§fn default() -> TimestampPartitionBuilder
fn default() -> TimestampPartitionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TimestampPartitionBuilder> for TimestampPartitionBuilder
impl PartialEq<TimestampPartitionBuilder> for TimestampPartitionBuilder
source§fn eq(&self, other: &TimestampPartitionBuilder) -> bool
fn eq(&self, other: &TimestampPartitionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TimestampPartitionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TimestampPartitionBuilder
impl Send for TimestampPartitionBuilder
impl Sync for TimestampPartitionBuilder
impl Unpin for TimestampPartitionBuilder
impl UnwindSafe for TimestampPartitionBuilder
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