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]

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

impl Debug for InstanceState
[src]

Formats the value using the given formatter. Read more

impl Clone for InstanceState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for InstanceState
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations