Struct rusoto_ec2::InstanceState [] [src]

pub struct InstanceState {
    pub code: Option<i64>,
    pub name: Option<String>,
}

Describes the current state of an instance.

Fields

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

The current state of the instance.

Trait Implementations

impl Default for InstanceState
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for InstanceState
[src]

[src]

Formats the value using the given formatter.

impl Clone for InstanceState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more