#[non_exhaustive]pub struct SkaffoldSupportedCondition {
pub status: bool,
pub skaffold_support_state: SkaffoldSupportState,
pub maintenance_mode_time: Option<Timestamp>,
pub support_expiration_time: Option<Timestamp>,
/* private fields */
}
Expand description
SkaffoldSupportedCondition contains information about when support for the release’s version of Skaffold ends.
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.status: bool
True if the version of Skaffold used by this release is supported.
skaffold_support_state: SkaffoldSupportState
The Skaffold support state for this release’s version of Skaffold.
maintenance_mode_time: Option<Timestamp>
The time at which this release’s version of Skaffold will enter maintenance mode.
support_expiration_time: Option<Timestamp>
The time at which this release’s version of Skaffold will no longer be supported.
Implementations§
Source§impl SkaffoldSupportedCondition
impl SkaffoldSupportedCondition
pub fn new() -> Self
Sourcepub fn set_status<T: Into<bool>>(self, v: T) -> Self
pub fn set_status<T: Into<bool>>(self, v: T) -> Self
Sets the value of status.
Sourcepub fn set_skaffold_support_state<T: Into<SkaffoldSupportState>>(
self,
v: T,
) -> Self
pub fn set_skaffold_support_state<T: Into<SkaffoldSupportState>>( self, v: T, ) -> Self
Sets the value of skaffold_support_state.
Sourcepub fn set_maintenance_mode_time<T>(self, v: T) -> Self
pub fn set_maintenance_mode_time<T>(self, v: T) -> Self
Sets the value of maintenance_mode_time.
Sourcepub fn set_or_clear_maintenance_mode_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_maintenance_mode_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of maintenance_mode_time.
Sourcepub fn set_support_expiration_time<T>(self, v: T) -> Self
pub fn set_support_expiration_time<T>(self, v: T) -> Self
Sets the value of support_expiration_time.
Sourcepub fn set_or_clear_support_expiration_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_support_expiration_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of support_expiration_time.
Trait Implementations§
Source§impl Clone for SkaffoldSupportedCondition
impl Clone for SkaffoldSupportedCondition
Source§fn clone(&self) -> SkaffoldSupportedCondition
fn clone(&self) -> SkaffoldSupportedCondition
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 SkaffoldSupportedCondition
impl Debug for SkaffoldSupportedCondition
Source§impl Default for SkaffoldSupportedCondition
impl Default for SkaffoldSupportedCondition
Source§fn default() -> SkaffoldSupportedCondition
fn default() -> SkaffoldSupportedCondition
Returns the “default value” for a type. Read more
Source§impl Message for SkaffoldSupportedCondition
impl Message for SkaffoldSupportedCondition
impl StructuralPartialEq for SkaffoldSupportedCondition
Auto Trait Implementations§
impl Freeze for SkaffoldSupportedCondition
impl RefUnwindSafe for SkaffoldSupportedCondition
impl Send for SkaffoldSupportedCondition
impl Sync for SkaffoldSupportedCondition
impl Unpin for SkaffoldSupportedCondition
impl UnwindSafe for SkaffoldSupportedCondition
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