Struct k8s_openapi_ext::appsv1::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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for StatefulSetUpdateStrategy
impl Debug for StatefulSetUpdateStrategy
sourceimpl DeepMerge for StatefulSetUpdateStrategy
impl DeepMerge for StatefulSetUpdateStrategy
sourcefn merge_from(&mut self, other: StatefulSetUpdateStrategy)
fn merge_from(&mut self, other: StatefulSetUpdateStrategy)
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<StatefulSetUpdateStrategy, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<StatefulSetUpdateStrategy, <D as Deserializer<'de>>::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
sourceimpl Serialize for StatefulSetUpdateStrategy
impl Serialize for StatefulSetUpdateStrategy
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
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