#[non_exhaustive]pub struct PipelineCondition {
pub pipeline_ready_condition: Option<PipelineReadyCondition>,
pub targets_present_condition: Option<TargetsPresentCondition>,
pub targets_type_condition: Option<TargetsTypeCondition>,
/* private fields */
}
Expand description
PipelineCondition contains all conditions relevant to a Delivery Pipeline.
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.pipeline_ready_condition: Option<PipelineReadyCondition>
Details around the Pipeline’s overall status.
targets_present_condition: Option<TargetsPresentCondition>
Details around targets enumerated in the pipeline.
targets_type_condition: Option<TargetsTypeCondition>
Details on the whether the targets enumerated in the pipeline are of the same type.
Implementations§
Source§impl PipelineCondition
impl PipelineCondition
pub fn new() -> Self
Sourcepub fn set_pipeline_ready_condition<T>(self, v: T) -> Selfwhere
T: Into<PipelineReadyCondition>,
pub fn set_pipeline_ready_condition<T>(self, v: T) -> Selfwhere
T: Into<PipelineReadyCondition>,
Sets the value of pipeline_ready_condition.
Sourcepub fn set_or_clear_pipeline_ready_condition<T>(self, v: Option<T>) -> Selfwhere
T: Into<PipelineReadyCondition>,
pub fn set_or_clear_pipeline_ready_condition<T>(self, v: Option<T>) -> Selfwhere
T: Into<PipelineReadyCondition>,
Sets or clears the value of pipeline_ready_condition.
Sourcepub fn set_targets_present_condition<T>(self, v: T) -> Selfwhere
T: Into<TargetsPresentCondition>,
pub fn set_targets_present_condition<T>(self, v: T) -> Selfwhere
T: Into<TargetsPresentCondition>,
Sets the value of targets_present_condition.
Sourcepub fn set_or_clear_targets_present_condition<T>(self, v: Option<T>) -> Selfwhere
T: Into<TargetsPresentCondition>,
pub fn set_or_clear_targets_present_condition<T>(self, v: Option<T>) -> Selfwhere
T: Into<TargetsPresentCondition>,
Sets or clears the value of targets_present_condition.
Sourcepub fn set_targets_type_condition<T>(self, v: T) -> Selfwhere
T: Into<TargetsTypeCondition>,
pub fn set_targets_type_condition<T>(self, v: T) -> Selfwhere
T: Into<TargetsTypeCondition>,
Sets the value of targets_type_condition.
Sourcepub fn set_or_clear_targets_type_condition<T>(self, v: Option<T>) -> Selfwhere
T: Into<TargetsTypeCondition>,
pub fn set_or_clear_targets_type_condition<T>(self, v: Option<T>) -> Selfwhere
T: Into<TargetsTypeCondition>,
Sets or clears the value of targets_type_condition.
Trait Implementations§
Source§impl Clone for PipelineCondition
impl Clone for PipelineCondition
Source§fn clone(&self) -> PipelineCondition
fn clone(&self) -> PipelineCondition
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 PipelineCondition
impl Debug for PipelineCondition
Source§impl Default for PipelineCondition
impl Default for PipelineCondition
Source§fn default() -> PipelineCondition
fn default() -> PipelineCondition
Returns the “default value” for a type. Read more
Source§impl Message for PipelineCondition
impl Message for PipelineCondition
Source§impl PartialEq for PipelineCondition
impl PartialEq for PipelineCondition
impl StructuralPartialEq for PipelineCondition
Auto Trait Implementations§
impl Freeze for PipelineCondition
impl RefUnwindSafe for PipelineCondition
impl Send for PipelineCondition
impl Sync for PipelineCondition
impl Unpin for PipelineCondition
impl UnwindSafe for PipelineCondition
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