#[non_exhaustive]pub struct DeploymentJobs {
pub predeploy_job: Option<Job>,
pub deploy_job: Option<Job>,
pub verify_job: Option<Job>,
pub postdeploy_job: Option<Job>,
/* private fields */
}
Expand description
Deployment job composition.
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.predeploy_job: Option<Job>
Output only. The predeploy Job, which is the first job on the phase.
deploy_job: Option<Job>
Output only. The deploy Job. This is the deploy job in the phase.
verify_job: Option<Job>
Output only. The verify Job. Runs after a deploy if the deploy succeeds.
postdeploy_job: Option<Job>
Output only. The postdeploy Job, which is the last job on the phase.
Implementations§
Source§impl DeploymentJobs
impl DeploymentJobs
pub fn new() -> Self
Sourcepub fn set_predeploy_job<T>(self, v: T) -> Self
pub fn set_predeploy_job<T>(self, v: T) -> Self
Sets the value of predeploy_job.
Sourcepub fn set_or_clear_predeploy_job<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_predeploy_job<T>(self, v: Option<T>) -> Self
Sets or clears the value of predeploy_job.
Sourcepub fn set_deploy_job<T>(self, v: T) -> Self
pub fn set_deploy_job<T>(self, v: T) -> Self
Sets the value of deploy_job.
Sourcepub fn set_or_clear_deploy_job<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_deploy_job<T>(self, v: Option<T>) -> Self
Sets or clears the value of deploy_job.
Sourcepub fn set_verify_job<T>(self, v: T) -> Self
pub fn set_verify_job<T>(self, v: T) -> Self
Sets the value of verify_job.
Sourcepub fn set_or_clear_verify_job<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_verify_job<T>(self, v: Option<T>) -> Self
Sets or clears the value of verify_job.
Sourcepub fn set_postdeploy_job<T>(self, v: T) -> Self
pub fn set_postdeploy_job<T>(self, v: T) -> Self
Sets the value of postdeploy_job.
Sourcepub fn set_or_clear_postdeploy_job<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_postdeploy_job<T>(self, v: Option<T>) -> Self
Sets or clears the value of postdeploy_job.
Trait Implementations§
Source§impl Clone for DeploymentJobs
impl Clone for DeploymentJobs
Source§fn clone(&self) -> DeploymentJobs
fn clone(&self) -> DeploymentJobs
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 DeploymentJobs
impl Debug for DeploymentJobs
Source§impl Default for DeploymentJobs
impl Default for DeploymentJobs
Source§fn default() -> DeploymentJobs
fn default() -> DeploymentJobs
Returns the “default value” for a type. Read more
Source§impl Message for DeploymentJobs
impl Message for DeploymentJobs
Source§impl PartialEq for DeploymentJobs
impl PartialEq for DeploymentJobs
impl StructuralPartialEq for DeploymentJobs
Auto Trait Implementations§
impl Freeze for DeploymentJobs
impl RefUnwindSafe for DeploymentJobs
impl Send for DeploymentJobs
impl Sync for DeploymentJobs
impl Unpin for DeploymentJobs
impl UnwindSafe for DeploymentJobs
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