Struct azure_devops_rust_api::release::models::Deployment
source · pub struct Deployment {Show 21 fields
pub attempt: Option<i32>,
pub completed_on: Option<OffsetDateTime>,
pub conditions: Vec<Condition>,
pub definition_environment_id: Option<i32>,
pub deployment_status: Option<DeploymentStatus>,
pub id: Option<i32>,
pub last_modified_by: Option<IdentityRef>,
pub last_modified_on: Option<OffsetDateTime>,
pub operation_status: Option<OperationStatus>,
pub post_deploy_approvals: Vec<ReleaseApproval>,
pub pre_deploy_approvals: Vec<ReleaseApproval>,
pub project_reference: Option<ProjectReference>,
pub queued_on: Option<OffsetDateTime>,
pub reason: Option<Reason>,
pub release: Option<ReleaseReference>,
pub release_definition: Option<ReleaseDefinitionShallowReference>,
pub release_environment: Option<ReleaseEnvironmentShallowReference>,
pub requested_by: Option<IdentityRef>,
pub requested_for: Option<IdentityRef>,
pub scheduled_deployment_time: Option<OffsetDateTime>,
pub started_on: Option<OffsetDateTime>,
}
Expand description
Fields§
§attempt: Option<i32>
Gets attempt number.
completed_on: Option<OffsetDateTime>
Gets the date on which deployment is complete.
conditions: Vec<Condition>
Gets the list of condition associated with deployment.
definition_environment_id: Option<i32>
Gets release definition environment id.
deployment_status: Option<DeploymentStatus>
Gets status of the deployment.
id: Option<i32>
Gets the unique identifier for deployment.
last_modified_by: Option<IdentityRef>
§last_modified_on: Option<OffsetDateTime>
Gets the date on which deployment is last modified.
operation_status: Option<OperationStatus>
Gets operation status of deployment.
post_deploy_approvals: Vec<ReleaseApproval>
Gets list of PostDeployApprovals.
pre_deploy_approvals: Vec<ReleaseApproval>
Gets list of PreDeployApprovals.
project_reference: Option<ProjectReference>
§queued_on: Option<OffsetDateTime>
Gets the date on which deployment is queued.
reason: Option<Reason>
Gets reason of deployment.
release: Option<ReleaseReference>
§release_definition: Option<ReleaseDefinitionShallowReference>
§release_environment: Option<ReleaseEnvironmentShallowReference>
§requested_by: Option<IdentityRef>
§requested_for: Option<IdentityRef>
§scheduled_deployment_time: Option<OffsetDateTime>
Gets the date on which deployment is scheduled.
started_on: Option<OffsetDateTime>
Gets the date on which deployment is started.
Implementations§
source§impl Deployment
impl Deployment
Trait Implementations§
source§impl Clone for Deployment
impl Clone for Deployment
source§fn clone(&self) -> Deployment
fn clone(&self) -> Deployment
Returns a copy 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 Deployment
impl Debug for Deployment
source§impl Default for Deployment
impl Default for Deployment
source§fn default() -> Deployment
fn default() -> Deployment
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Deployment
impl<'de> Deserialize<'de> for Deployment
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 Deployment
impl PartialEq for Deployment
source§fn eq(&self, other: &Deployment) -> bool
fn eq(&self, other: &Deployment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Deployment
impl Serialize for Deployment
impl StructuralPartialEq for Deployment
Auto Trait Implementations§
impl Freeze for Deployment
impl RefUnwindSafe for Deployment
impl Send for Deployment
impl Sync for Deployment
impl Unpin for Deployment
impl UnwindSafe for Deployment
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