Struct aws_sdk_databrew::model::DatetimeOptions
source · #[non_exhaustive]pub struct DatetimeOptions { /* private fields */ }
Expand description
Represents additional options for correct interpretation of datetime parameters used in the Amazon S3 path of a dataset.
Implementations§
source§impl DatetimeOptions
impl DatetimeOptions
sourcepub fn format(&self) -> Option<&str>
pub fn format(&self) -> Option<&str>
Required option, that defines the datetime format used for a date parameter in the Amazon S3 path. Should use only supported datetime specifiers and separation characters, all literal a-z or A-Z characters should be escaped with single quotes. E.g. "MM.dd.yyyy-'at'-HH:mm".
sourcepub fn timezone_offset(&self) -> Option<&str>
pub fn timezone_offset(&self) -> Option<&str>
Optional value for a timezone offset of the datetime parameter value in the Amazon S3 path. Shouldn't be used if Format for this parameter includes timezone fields. If no offset specified, UTC is assumed.
sourcepub fn locale_code(&self) -> Option<&str>
pub fn locale_code(&self) -> Option<&str>
Optional value for a non-US locale code, needed for correct interpretation of some date formats.
source§impl DatetimeOptions
impl DatetimeOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DatetimeOptions
.
Trait Implementations§
source§impl Clone for DatetimeOptions
impl Clone for DatetimeOptions
source§fn clone(&self) -> DatetimeOptions
fn clone(&self) -> DatetimeOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DatetimeOptions
impl Debug for DatetimeOptions
source§impl PartialEq<DatetimeOptions> for DatetimeOptions
impl PartialEq<DatetimeOptions> for DatetimeOptions
source§fn eq(&self, other: &DatetimeOptions) -> bool
fn eq(&self, other: &DatetimeOptions) -> bool
self
and other
values to be equal, and is used
by ==
.