#[non_exhaustive]pub struct ReleaseCondition {
pub release_ready_condition: Option<ReleaseReadyCondition>,
pub skaffold_supported_condition: Option<SkaffoldSupportedCondition>,
/* private fields */
}
Expand description
ReleaseCondition contains all conditions relevant to a Release.
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.release_ready_condition: Option<ReleaseReadyCondition>
Details around the Releases’s overall status.
skaffold_supported_condition: Option<SkaffoldSupportedCondition>
Details around the support state of the release’s Skaffold version.
Implementations§
Source§impl ReleaseCondition
impl ReleaseCondition
pub fn new() -> Self
Sourcepub fn set_release_ready_condition<T>(self, v: T) -> Selfwhere
T: Into<ReleaseReadyCondition>,
pub fn set_release_ready_condition<T>(self, v: T) -> Selfwhere
T: Into<ReleaseReadyCondition>,
Sets the value of release_ready_condition.
Sourcepub fn set_or_clear_release_ready_condition<T>(self, v: Option<T>) -> Selfwhere
T: Into<ReleaseReadyCondition>,
pub fn set_or_clear_release_ready_condition<T>(self, v: Option<T>) -> Selfwhere
T: Into<ReleaseReadyCondition>,
Sets or clears the value of release_ready_condition.
Sourcepub fn set_skaffold_supported_condition<T>(self, v: T) -> Selfwhere
T: Into<SkaffoldSupportedCondition>,
pub fn set_skaffold_supported_condition<T>(self, v: T) -> Selfwhere
T: Into<SkaffoldSupportedCondition>,
Sets the value of skaffold_supported_condition.
Sourcepub fn set_or_clear_skaffold_supported_condition<T>(self, v: Option<T>) -> Selfwhere
T: Into<SkaffoldSupportedCondition>,
pub fn set_or_clear_skaffold_supported_condition<T>(self, v: Option<T>) -> Selfwhere
T: Into<SkaffoldSupportedCondition>,
Sets or clears the value of skaffold_supported_condition.
Trait Implementations§
Source§impl Clone for ReleaseCondition
impl Clone for ReleaseCondition
Source§fn clone(&self) -> ReleaseCondition
fn clone(&self) -> ReleaseCondition
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 ReleaseCondition
impl Debug for ReleaseCondition
Source§impl Default for ReleaseCondition
impl Default for ReleaseCondition
Source§fn default() -> ReleaseCondition
fn default() -> ReleaseCondition
Returns the “default value” for a type. Read more
Source§impl Message for ReleaseCondition
impl Message for ReleaseCondition
Source§impl PartialEq for ReleaseCondition
impl PartialEq for ReleaseCondition
impl StructuralPartialEq for ReleaseCondition
Auto Trait Implementations§
impl Freeze for ReleaseCondition
impl RefUnwindSafe for ReleaseCondition
impl Send for ReleaseCondition
impl Sync for ReleaseCondition
impl Unpin for ReleaseCondition
impl UnwindSafe for ReleaseCondition
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