Struct k8s_openapi::v1_8::api::extensions::v1beta1::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 DeploymentStrategyfn clone(&self) -> DeploymentStrategy[src]
fn clone(&self) -> DeploymentStrategyReturns 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 DeploymentStrategyfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for DeploymentStrategy[src]
impl Default for DeploymentStrategyfn default() -> DeploymentStrategy[src]
fn default() -> DeploymentStrategyReturns the "default value" for a type. Read more
impl PartialEq for DeploymentStrategy[src]
impl PartialEq for DeploymentStrategyfn eq(&self, other: &DeploymentStrategy) -> bool[src]
fn eq(&self, other: &DeploymentStrategy) -> boolThis 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) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for DeploymentStrategy[src]
impl<'de> Deserialize<'de> for DeploymentStrategyfn 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 DeploymentStrategyAuto Trait Implementations
impl Send for DeploymentStrategy
impl Send for DeploymentStrategyimpl Sync for DeploymentStrategy
impl Sync for DeploymentStrategy