Struct aws_sdk_ec2::model::InstanceStateChange
source · [−]#[non_exhaustive]pub struct InstanceStateChange { /* private fields */ }
Expand description
Describes an instance state change.
Implementations
sourceimpl InstanceStateChange
impl InstanceStateChange
sourcepub fn current_state(&self) -> Option<&InstanceState>
pub fn current_state(&self) -> Option<&InstanceState>
The current state of the instance.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance.
sourcepub fn previous_state(&self) -> Option<&InstanceState>
pub fn previous_state(&self) -> Option<&InstanceState>
The previous state of the instance.
sourceimpl InstanceStateChange
impl InstanceStateChange
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceStateChange
.
Trait Implementations
sourceimpl Clone for InstanceStateChange
impl Clone for InstanceStateChange
sourcefn clone(&self) -> InstanceStateChange
fn clone(&self) -> InstanceStateChange
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 moresourceimpl Debug for InstanceStateChange
impl Debug for InstanceStateChange
sourceimpl PartialEq<InstanceStateChange> for InstanceStateChange
impl PartialEq<InstanceStateChange> for InstanceStateChange
sourcefn eq(&self, other: &InstanceStateChange) -> bool
fn eq(&self, other: &InstanceStateChange) -> bool
impl StructuralPartialEq for InstanceStateChange
Auto Trait Implementations
impl RefUnwindSafe for InstanceStateChange
impl Send for InstanceStateChange
impl Sync for InstanceStateChange
impl Unpin for InstanceStateChange
impl UnwindSafe for InstanceStateChange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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