Struct octorust::types::Deployment[][src]

pub struct Deployment {
Show 18 fields pub created_at: Option<DateTime<Utc>>, pub creator: Option<SimpleUser>, pub description: String, pub environment: String, pub id: i64, pub node_id: String, pub original_environment: String, pub payload: PayloadOneOf, pub performed_via_github_app: Option<Integration>, pub production_environment: bool, pub ref_: String, pub repository_url: String, pub sha: String, pub statuses_url: String, pub task: String, pub transient_environment: bool, pub updated_at: Option<DateTime<Utc>>, pub url: String,
}
Expand description

A request for a specific ref(branch,sha,tag) to be deployed

Fields

created_at: Option<DateTime<Utc>>creator: Option<SimpleUser>

Simple User

description: Stringenvironment: String

Name for the target deployment environment.

id: i64

Unique identifier of the deployment

node_id: Stringoriginal_environment: Stringpayload: PayloadOneOf

One of the following types:

  • Data
  • String

You can easily convert this enum to the inner value with From and Into, as both are implemented for each type.

performed_via_github_app: Option<Integration>

GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.

production_environment: bool

A request for a specific ref(branch,sha,tag) to be deployed

ref_: String

The ref to deploy. This can be a branch, tag, or sha.

repository_url: Stringsha: Stringstatuses_url: Stringtask: String

Parameter to specify a task to execute

transient_environment: bool

A request for a specific ref(branch,sha,tag) to be deployed

updated_at: Option<DateTime<Utc>>url: String

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

Deserialize this value from the given Serde deserializer. Read more

The name of the generated JSON Schema. Read more

Generates a JSON Schema for this type. Read more

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more

Serialize this value into the given Serde serializer. Read more

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

Performs the conversion.

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

Performs the conversion.

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)

recently added

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.