logo
pub struct Environment {
    pub arn: String,
    pub connection_type: Option<String>,
    pub description: Option<String>,
    pub id: Option<String>,
    pub lifecycle: Option<EnvironmentLifecycle>,
    pub managed_credentials_status: Option<String>,
    pub name: Option<String>,
    pub owner_arn: String,
    pub type_: String,
}
Expand description

Information about an Cloud9 development environment.

Fields

arn: String

The Amazon Resource Name (ARN) of the environment.

connection_type: Option<String>

The connection type used for connecting to an Amazon EC2 environment. CONNECT_SSH is selected by default.

description: Option<String>

The description for the environment.

id: Option<String>

The ID of the environment.

lifecycle: Option<EnvironmentLifecycle>

The state of the environment in its creation or deletion lifecycle.

managed_credentials_status: Option<String>

Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment. Available values are:

  • ENABLEDONCREATE

  • ENABLEDBYOWNER

  • DISABLEDBYDEFAULT

  • DISABLEDBYOWNER

  • DISABLEDBYCOLLABORATOR

  • PENDINGREMOVALBYCOLLABORATOR

  • PENDINGREMOVALBYOWNER

  • FAILEDREMOVALBYCOLLABORATOR

  • ENABLEDBYOWNER

  • DISABLEDBY_DEFAULT

name: Option<String>

The name of the environment.

owner_arn: String

The Amazon Resource Name (ARN) of the environment owner.

type_: String

The type of environment. Valid values include the following:

  • ec2: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.

  • ssh: Your own server connects to the environment.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more