pub struct InstanceStateChange {
pub current_state: Option<InstanceState>,
pub instance_id: Option<String>,
pub previous_state: Option<InstanceState>,
}Expand description
Describes an instance state change.
Fields§
§current_state: Option<InstanceState>The current state of the instance.
instance_id: Option<String>The ID of the instance.
previous_state: Option<InstanceState>The previous state of the instance.
Trait Implementations§
Source§impl Clone for InstanceStateChange
impl Clone for InstanceStateChange
Source§fn clone(&self) -> InstanceStateChange
fn clone(&self) -> InstanceStateChange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InstanceStateChange
impl Debug for InstanceStateChange
Source§impl Default for InstanceStateChange
impl Default for InstanceStateChange
Source§fn default() -> InstanceStateChange
fn default() -> InstanceStateChange
Returns the “default value” for a type. Read more
Source§impl PartialEq for InstanceStateChange
impl PartialEq for InstanceStateChange
impl StructuralPartialEq for InstanceStateChange
Auto Trait Implementations§
impl Freeze for InstanceStateChange
impl RefUnwindSafe for InstanceStateChange
impl Send for InstanceStateChange
impl Sync for InstanceStateChange
impl Unpin for InstanceStateChange
impl UnwindSafe for InstanceStateChange
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
Mutably borrows from an owned value. Read more