Struct rusoto_ec2::InstanceState
[−]
[src]
pub struct InstanceState { pub code: Option<i64>, pub name: Option<String>, }
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]
fn default() -> InstanceState
[src]
Returns the "default value" for a type. Read more
impl Debug for InstanceState
[src]
impl Clone for InstanceState
[src]
fn clone(&self) -> InstanceState
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more