#[non_exhaustive]
pub struct Service {
Show 13 fields pub name: Option<String>, pub description: Option<String>, pub arn: Option<String>, pub template_name: Option<String>, pub created_at: Option<DateTime>, pub last_modified_at: Option<DateTime>, pub status: Option<ServiceStatus>, pub status_message: Option<String>, pub spec: Option<String>, pub pipeline: Option<ServicePipeline>, pub repository_connection_arn: Option<String>, pub repository_id: Option<String>, pub branch_name: Option<String>,
}
Expand description

Detailed data of an Proton service resource.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
name: Option<String>

The name of the service.

description: Option<String>

A description of the service.

arn: Option<String>

The Amazon Resource Name (ARN) of the service.

template_name: Option<String>

The name of the service template.

created_at: Option<DateTime>

The time when the service was created.

last_modified_at: Option<DateTime>

The time when the service was last modified.

status: Option<ServiceStatus>

The status of the service.

status_message: Option<String>

A service status message.

spec: Option<String>

The formatted specification that defines the service.

pipeline: Option<ServicePipeline>

The service pipeline detail data.

repository_connection_arn: Option<String>

The Amazon Resource Name (ARN) of the repository connection. For more information, see Set up a repository connection in the Proton Administrator Guide and Setting up with Proton in the Proton User Guide.

repository_id: Option<String>

The ID of the source code repository.

branch_name: Option<String>

The name of the code repository branch that holds the code that's deployed in Proton.

Implementations

The name of the service.

A description of the service.

The Amazon Resource Name (ARN) of the service.

The name of the service template.

The time when the service was created.

The time when the service was last modified.

The status of the service.

A service status message.

The formatted specification that defines the service.

The service pipeline detail data.

The Amazon Resource Name (ARN) of the repository connection. For more information, see Set up a repository connection in the Proton Administrator Guide and Setting up with Proton in the Proton User Guide.

The ID of the source code repository.

The name of the code repository branch that holds the code that's deployed in Proton.

Creates a new builder-style object to manufacture Service.

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

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.

The resulting type after obtaining ownership.

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

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