#[non_exhaustive]pub struct GetCalendarStateOutput {
pub state: Option<CalendarState>,
pub at_time: Option<String>,
pub next_transition_time: Option<String>,
/* private fields */
}
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.state: Option<CalendarState>
The state of the calendar. An OPEN
calendar indicates that actions are allowed to proceed, and a CLOSED
calendar indicates that actions aren't allowed to proceed.
at_time: Option<String>
The time, as an ISO 8601 string, that you specified in your command. If you don't specify a time, GetCalendarState
uses the current time.
next_transition_time: Option<String>
The time, as an ISO 8601 string, that the calendar state will change. If the current calendar state is OPEN
, NextTransitionTime
indicates when the calendar state changes to CLOSED
, and vice-versa.
Implementations§
source§impl GetCalendarStateOutput
impl GetCalendarStateOutput
sourcepub fn state(&self) -> Option<&CalendarState>
pub fn state(&self) -> Option<&CalendarState>
The state of the calendar. An OPEN
calendar indicates that actions are allowed to proceed, and a CLOSED
calendar indicates that actions aren't allowed to proceed.
sourcepub fn at_time(&self) -> Option<&str>
pub fn at_time(&self) -> Option<&str>
The time, as an ISO 8601 string, that you specified in your command. If you don't specify a time, GetCalendarState
uses the current time.
sourcepub fn next_transition_time(&self) -> Option<&str>
pub fn next_transition_time(&self) -> Option<&str>
The time, as an ISO 8601 string, that the calendar state will change. If the current calendar state is OPEN
, NextTransitionTime
indicates when the calendar state changes to CLOSED
, and vice-versa.
source§impl GetCalendarStateOutput
impl GetCalendarStateOutput
sourcepub fn builder() -> GetCalendarStateOutputBuilder
pub fn builder() -> GetCalendarStateOutputBuilder
Creates a new builder-style object to manufacture GetCalendarStateOutput
.
Trait Implementations§
source§impl Clone for GetCalendarStateOutput
impl Clone for GetCalendarStateOutput
source§fn clone(&self) -> GetCalendarStateOutput
fn clone(&self) -> GetCalendarStateOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetCalendarStateOutput
impl Debug for GetCalendarStateOutput
source§impl PartialEq for GetCalendarStateOutput
impl PartialEq for GetCalendarStateOutput
source§fn eq(&self, other: &GetCalendarStateOutput) -> bool
fn eq(&self, other: &GetCalendarStateOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetCalendarStateOutput
impl RequestId for GetCalendarStateOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.