Struct k8s_openapi::api::apps::v1::DaemonSetUpdateStrategy
source · pub struct DaemonSetUpdateStrategy {
pub rolling_update: Option<RollingUpdateDaemonSet>,
pub type_: Option<String>,
}
Expand description
DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
Fields§
§rolling_update: Option<RollingUpdateDaemonSet>
Rolling update config params. Present only if type = “RollingUpdate”.
type_: Option<String>
Type of daemon set update. Can be “RollingUpdate” or “OnDelete”. Default is RollingUpdate.
Trait Implementations§
source§impl Clone for DaemonSetUpdateStrategy
impl Clone for DaemonSetUpdateStrategy
source§fn clone(&self) -> DaemonSetUpdateStrategy
fn clone(&self) -> DaemonSetUpdateStrategy
Returns a copy 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 DaemonSetUpdateStrategy
impl Debug for DaemonSetUpdateStrategy
source§impl DeepMerge for DaemonSetUpdateStrategy
impl DeepMerge for DaemonSetUpdateStrategy
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for DaemonSetUpdateStrategy
impl Default for DaemonSetUpdateStrategy
source§fn default() -> DaemonSetUpdateStrategy
fn default() -> DaemonSetUpdateStrategy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DaemonSetUpdateStrategy
impl<'de> Deserialize<'de> for DaemonSetUpdateStrategy
source§fn 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
source§impl PartialEq for DaemonSetUpdateStrategy
impl PartialEq for DaemonSetUpdateStrategy
source§impl Serialize for DaemonSetUpdateStrategy
impl Serialize for DaemonSetUpdateStrategy
impl StructuralPartialEq for DaemonSetUpdateStrategy
Auto Trait Implementations§
impl Freeze for DaemonSetUpdateStrategy
impl RefUnwindSafe for DaemonSetUpdateStrategy
impl Send for DaemonSetUpdateStrategy
impl Sync for DaemonSetUpdateStrategy
impl Unpin for DaemonSetUpdateStrategy
impl UnwindSafe for DaemonSetUpdateStrategy
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)