[][src]Struct k8s_openapi::api::apps::v1::DeploymentStrategy

pub struct DeploymentStrategy {
    pub rolling_update: Option<RollingUpdateDeployment>,
    pub type_: Option<String>,
}

DeploymentStrategy describes how to replace existing pods with new ones.

Fields

rolling_update: Option<RollingUpdateDeployment>

Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.

type_: Option<String>

Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.

Trait Implementations

impl Clone for DeploymentStrategy[src]

impl Debug for DeploymentStrategy[src]

impl Default for DeploymentStrategy[src]

impl<'de> Deserialize<'de> for DeploymentStrategy[src]

impl PartialEq<DeploymentStrategy> for DeploymentStrategy[src]

impl Serialize for DeploymentStrategy[src]

impl StructuralPartialEq for DeploymentStrategy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.