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
sourceimpl Clone for DaemonSetUpdateStrategy
impl Clone for DaemonSetUpdateStrategy
sourcefn clone(&self) -> DaemonSetUpdateStrategy
fn clone(&self) -> DaemonSetUpdateStrategy
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 DaemonSetUpdateStrategy
impl Debug for DaemonSetUpdateStrategy
sourceimpl Default for DaemonSetUpdateStrategy
impl Default for DaemonSetUpdateStrategy
sourcefn default() -> DaemonSetUpdateStrategy
fn default() -> DaemonSetUpdateStrategy
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DaemonSetUpdateStrategy
impl<'de> Deserialize<'de> for DaemonSetUpdateStrategy
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<DaemonSetUpdateStrategy> for DaemonSetUpdateStrategy
impl PartialEq<DaemonSetUpdateStrategy> for DaemonSetUpdateStrategy
sourcefn eq(&self, other: &DaemonSetUpdateStrategy) -> bool
fn eq(&self, other: &DaemonSetUpdateStrategy) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DaemonSetUpdateStrategy) -> bool
fn ne(&self, other: &DaemonSetUpdateStrategy) -> bool
This method tests for !=
.
sourceimpl Serialize for DaemonSetUpdateStrategy
impl Serialize for DaemonSetUpdateStrategy
impl StructuralPartialEq for DaemonSetUpdateStrategy
Auto Trait Implementations
impl RefUnwindSafe for DaemonSetUpdateStrategy
impl Send for DaemonSetUpdateStrategy
impl Sync for DaemonSetUpdateStrategy
impl Unpin for DaemonSetUpdateStrategy
impl UnwindSafe for DaemonSetUpdateStrategy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more