Struct rusoto_lightsail::StopInstanceRequest[][src]

pub struct StopInstanceRequest {
    pub force: Option<bool>,
    pub instance_name: String,
}

Fields

When set to True, forces a Lightsail instance that is stuck in a stopping state to stop.

Only use the force parameter if your instance is stuck in the stopping state. In any other state, your instance should stop normally without adding this parameter to your API request.

The name of the instance (a virtual private server) to stop.

Trait Implementations

impl Default for StopInstanceRequest
[src]

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

impl Debug for StopInstanceRequest
[src]

Formats the value using the given formatter. Read more

impl Clone for StopInstanceRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for StopInstanceRequest
[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