Struct rusoto_ec2::InstanceState [−][src]
Describes the current state of an instance.
Fields
code: Option<i64>
The low byte represents the state. The high byte is an opaque internal value and should be ignored.
-
0
:pending
-
16
:running
-
32
:shutting-down
-
48
:terminated
-
64
:stopping
-
80
:stopped
name: Option<String>
The current state of the instance.
Trait Implementations
impl Default for InstanceState
[src]
impl Default for InstanceState
fn default() -> InstanceState
[src]
fn default() -> InstanceState
Returns the "default value" for a type. Read more
impl Debug for InstanceState
[src]
impl Debug for InstanceState
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for InstanceState
[src]
impl Clone for InstanceState
fn clone(&self) -> InstanceState
[src]
fn clone(&self) -> InstanceState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for InstanceState
[src]
impl PartialEq for InstanceState
fn eq(&self, other: &InstanceState) -> bool
[src]
fn eq(&self, other: &InstanceState) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &InstanceState) -> bool
[src]
fn ne(&self, other: &InstanceState) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for InstanceState
impl Send for InstanceState
impl Sync for InstanceState
impl Sync for InstanceState