Struct k8s_openapi::v1_9::api::apps::v1::DeploymentStrategy [−][src]
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 Clone for DeploymentStrategy
fn clone(&self) -> DeploymentStrategy
[src]
fn clone(&self) -> DeploymentStrategy
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for DeploymentStrategy
[src]
impl Debug for DeploymentStrategy
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for DeploymentStrategy
[src]
impl Default for DeploymentStrategy
fn default() -> DeploymentStrategy
[src]
fn default() -> DeploymentStrategy
Returns the "default value" for a type. Read more
impl PartialEq for DeploymentStrategy
[src]
impl PartialEq for DeploymentStrategy
fn eq(&self, other: &DeploymentStrategy) -> bool
[src]
fn eq(&self, other: &DeploymentStrategy) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DeploymentStrategy) -> bool
[src]
fn ne(&self, other: &DeploymentStrategy) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for DeploymentStrategy
[src]
impl<'de> Deserialize<'de> for DeploymentStrategy
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for DeploymentStrategy
[src]
impl Serialize for DeploymentStrategy
Auto Trait Implementations
impl Send for DeploymentStrategy
impl Send for DeploymentStrategy
impl Sync for DeploymentStrategy
impl Sync for DeploymentStrategy