Struct aws_sdk_ssm::output::GetCalendarStateOutput
source · [−]#[non_exhaustive]pub struct GetCalendarStateOutput {
pub state: Option<CalendarState>,
pub at_time: Option<String>,
pub next_transition_time: Option<String>,
}
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
sourceimpl 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.
sourceimpl GetCalendarStateOutput
impl GetCalendarStateOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetCalendarStateOutput
Trait Implementations
sourceimpl Clone for GetCalendarStateOutput
impl Clone for GetCalendarStateOutput
sourcefn clone(&self) -> GetCalendarStateOutput
fn clone(&self) -> GetCalendarStateOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetCalendarStateOutput
impl Debug for GetCalendarStateOutput
sourceimpl PartialEq<GetCalendarStateOutput> for GetCalendarStateOutput
impl PartialEq<GetCalendarStateOutput> for GetCalendarStateOutput
sourcefn eq(&self, other: &GetCalendarStateOutput) -> bool
fn eq(&self, other: &GetCalendarStateOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetCalendarStateOutput) -> bool
fn ne(&self, other: &GetCalendarStateOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetCalendarStateOutput
Auto Trait Implementations
impl RefUnwindSafe for GetCalendarStateOutput
impl Send for GetCalendarStateOutput
impl Sync for GetCalendarStateOutput
impl Unpin for GetCalendarStateOutput
impl UnwindSafe for GetCalendarStateOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more