Struct aws_sdk_storagegateway::operation::describe_maintenance_start_time::DescribeMaintenanceStartTimeOutput
source · #[non_exhaustive]pub struct DescribeMaintenanceStartTimeOutput {
pub gateway_arn: Option<String>,
pub hour_of_day: Option<i32>,
pub minute_of_hour: Option<i32>,
pub day_of_week: Option<i32>,
pub day_of_month: Option<i32>,
pub timezone: Option<String>,
/* private fields */
}
Expand description
A JSON object containing the following fields:
-
DescribeMaintenanceStartTimeOutput$DayOfMonth
-
DescribeMaintenanceStartTimeOutput$DayOfWeek
-
DescribeMaintenanceStartTimeOutput$HourOfDay
-
DescribeMaintenanceStartTimeOutput$MinuteOfHour
-
DescribeMaintenanceStartTimeOutput$Timezone
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.gateway_arn: Option<String>
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
hour_of_day: Option<i32>
The hour component of the maintenance start time represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.
minute_of_hour: Option<i32>
The minute component of the maintenance start time represented as mm, where mm is the minute (0 to 59). The minute of the hour is in the time zone of the gateway.
day_of_week: Option<i32>
An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday. The day of week is in the time zone of the gateway.
day_of_month: Option<i32>
The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.
timezone: Option<String>
A value that indicates the time zone that is set for the gateway. The start time and day of week specified should be in the time zone of the gateway.
Implementations§
source§impl DescribeMaintenanceStartTimeOutput
impl DescribeMaintenanceStartTimeOutput
sourcepub fn gateway_arn(&self) -> Option<&str>
pub fn gateway_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
sourcepub fn hour_of_day(&self) -> Option<i32>
pub fn hour_of_day(&self) -> Option<i32>
The hour component of the maintenance start time represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.
sourcepub fn minute_of_hour(&self) -> Option<i32>
pub fn minute_of_hour(&self) -> Option<i32>
The minute component of the maintenance start time represented as mm, where mm is the minute (0 to 59). The minute of the hour is in the time zone of the gateway.
sourcepub fn day_of_week(&self) -> Option<i32>
pub fn day_of_week(&self) -> Option<i32>
An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday. The day of week is in the time zone of the gateway.
sourcepub fn day_of_month(&self) -> Option<i32>
pub fn day_of_month(&self) -> Option<i32>
The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.
source§impl DescribeMaintenanceStartTimeOutput
impl DescribeMaintenanceStartTimeOutput
sourcepub fn builder() -> DescribeMaintenanceStartTimeOutputBuilder
pub fn builder() -> DescribeMaintenanceStartTimeOutputBuilder
Creates a new builder-style object to manufacture DescribeMaintenanceStartTimeOutput
.
Trait Implementations§
source§impl Clone for DescribeMaintenanceStartTimeOutput
impl Clone for DescribeMaintenanceStartTimeOutput
source§fn clone(&self) -> DescribeMaintenanceStartTimeOutput
fn clone(&self) -> DescribeMaintenanceStartTimeOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeMaintenanceStartTimeOutput
impl PartialEq for DescribeMaintenanceStartTimeOutput
source§fn eq(&self, other: &DescribeMaintenanceStartTimeOutput) -> bool
fn eq(&self, other: &DescribeMaintenanceStartTimeOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeMaintenanceStartTimeOutput
impl RequestId for DescribeMaintenanceStartTimeOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeMaintenanceStartTimeOutput
Auto Trait Implementations§
impl Freeze for DescribeMaintenanceStartTimeOutput
impl RefUnwindSafe for DescribeMaintenanceStartTimeOutput
impl Send for DescribeMaintenanceStartTimeOutput
impl Sync for DescribeMaintenanceStartTimeOutput
impl Unpin for DescribeMaintenanceStartTimeOutput
impl UnwindSafe for DescribeMaintenanceStartTimeOutput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more