Struct k8s_openapi::api::apps::v1::StatefulSetUpdateStrategy
source · [−]pub struct StatefulSetUpdateStrategy {
pub rolling_update: Option<RollingUpdateStatefulSetStrategy>,
pub type_: Option<String>,
}
Expand description
StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.
Fields
rolling_update: Option<RollingUpdateStatefulSetStrategy>
RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
type_: Option<String>
Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
Trait Implementations
sourceimpl Clone for StatefulSetUpdateStrategy
impl Clone for StatefulSetUpdateStrategy
sourcefn clone(&self) -> StatefulSetUpdateStrategy
fn clone(&self) -> StatefulSetUpdateStrategy
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StatefulSetUpdateStrategy
impl Debug for StatefulSetUpdateStrategy
sourceimpl DeepMerge for StatefulSetUpdateStrategy
impl DeepMerge for StatefulSetUpdateStrategy
sourcefn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge other
into self
.
sourceimpl Default for StatefulSetUpdateStrategy
impl Default for StatefulSetUpdateStrategy
sourcefn default() -> StatefulSetUpdateStrategy
fn default() -> StatefulSetUpdateStrategy
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for StatefulSetUpdateStrategy
impl<'de> Deserialize<'de> for StatefulSetUpdateStrategy
sourcefn 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
sourceimpl PartialEq<StatefulSetUpdateStrategy> for StatefulSetUpdateStrategy
impl PartialEq<StatefulSetUpdateStrategy> for StatefulSetUpdateStrategy
sourcefn eq(&self, other: &StatefulSetUpdateStrategy) -> bool
fn eq(&self, other: &StatefulSetUpdateStrategy) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for StatefulSetUpdateStrategy
impl Serialize for StatefulSetUpdateStrategy
impl StructuralPartialEq for StatefulSetUpdateStrategy
Auto Trait Implementations
impl RefUnwindSafe for StatefulSetUpdateStrategy
impl Send for StatefulSetUpdateStrategy
impl Sync for StatefulSetUpdateStrategy
impl Unpin for StatefulSetUpdateStrategy
impl UnwindSafe for StatefulSetUpdateStrategy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more