pub struct DeploymentSimple {Show 14 fields
pub url: String,
pub id: i32,
pub node_id: String,
pub task: String,
pub original_environment: Option<String>,
pub environment: String,
pub description: Option<String>,
pub created_at: String,
pub updated_at: String,
pub statuses_url: String,
pub repository_url: String,
pub transient_environment: Option<bool>,
pub production_environment: Option<bool>,
pub performed_via_github_app: Option<Option<Box<NullableIntegration>>>,
}
Expand description
DeploymentSimple : A deployment created as the result of an Actions check run from a workflow that references an environment
Fields§
§url: String
§id: i32
Unique identifier of the deployment
node_id: String
§task: String
Parameter to specify a task to execute
original_environment: Option<String>
§environment: String
Name for the target deployment environment.
description: Option<String>
§created_at: String
§updated_at: String
§statuses_url: String
§repository_url: String
§transient_environment: Option<bool>
Specifies if the given environment is will no longer exist at some point in the future. Default: false.
production_environment: Option<bool>
Specifies if the given environment is one that end-users directly interact with. Default: false.
performed_via_github_app: Option<Option<Box<NullableIntegration>>>
Implementations§
Source§impl DeploymentSimple
impl DeploymentSimple
Sourcepub fn new(
url: String,
id: i32,
node_id: String,
task: String,
environment: String,
description: Option<String>,
created_at: String,
updated_at: String,
statuses_url: String,
repository_url: String,
) -> DeploymentSimple
pub fn new( url: String, id: i32, node_id: String, task: String, environment: String, description: Option<String>, created_at: String, updated_at: String, statuses_url: String, repository_url: String, ) -> DeploymentSimple
A deployment created as the result of an Actions check run from a workflow that references an environment
Trait Implementations§
Source§impl Clone for DeploymentSimple
impl Clone for DeploymentSimple
Source§fn clone(&self) -> DeploymentSimple
fn clone(&self) -> DeploymentSimple
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DeploymentSimple
impl Debug for DeploymentSimple
Source§impl Default for DeploymentSimple
impl Default for DeploymentSimple
Source§fn default() -> DeploymentSimple
fn default() -> DeploymentSimple
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeploymentSimple
impl<'de> Deserialize<'de> for DeploymentSimple
Source§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
Source§impl PartialEq for DeploymentSimple
impl PartialEq for DeploymentSimple
Source§impl Serialize for DeploymentSimple
impl Serialize for DeploymentSimple
impl StructuralPartialEq for DeploymentSimple
Auto Trait Implementations§
impl Freeze for DeploymentSimple
impl RefUnwindSafe for DeploymentSimple
impl Send for DeploymentSimple
impl Sync for DeploymentSimple
impl Unpin for DeploymentSimple
impl UnwindSafe for DeploymentSimple
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more