Struct octorust::types::Deployment [−][src]
pub struct Deployment {}Show fields
pub created_at: 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: DateTime<Utc>, pub url: String,
Expand description
A request for a specific ref(branch,sha,tag) to be deployed
Fields
created_at: DateTime<Utc>
creator: Option<SimpleUser>
Simple User
description: String
environment: String
Name for the target deployment environment.
id: i64
Unique identifier of the deployment
node_id: String
original_environment: String
payload: 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: String
sha: String
statuses_url: String
task: 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: DateTime<Utc>
url: String
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Deployment
impl Send for Deployment
impl Sync for Deployment
impl Unpin for Deployment
impl UnwindSafe for Deployment
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more