pub struct MachineDeploymentStrategy {
pub type: Option<MachineDeploymentStrategyType>,
pub rolling_update: Option<MachineRollingUpdateDeployment>,
}
Expand description
MachineDeploymentStrategy describes how to replace existing machines with new ones.
Fields§
§type: Option<MachineDeploymentStrategyType>
Type of deployment. Default is RollingUpdate.
rolling_update: Option<MachineRollingUpdateDeployment>
Rolling update config params. Present only if MachineDeploymentStrategyType = RollingUpdate.
Trait Implementations§
Source§impl Clone for MachineDeploymentStrategy
impl Clone for MachineDeploymentStrategy
Source§fn clone(&self) -> MachineDeploymentStrategy
fn clone(&self) -> MachineDeploymentStrategy
Returns a duplicate 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 MachineDeploymentStrategy
impl Debug for MachineDeploymentStrategy
Source§impl Default for MachineDeploymentStrategy
impl Default for MachineDeploymentStrategy
Source§fn default() -> MachineDeploymentStrategy
fn default() -> MachineDeploymentStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MachineDeploymentStrategy
impl<'de> Deserialize<'de> for MachineDeploymentStrategy
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
Auto Trait Implementations§
impl Freeze for MachineDeploymentStrategy
impl RefUnwindSafe for MachineDeploymentStrategy
impl Send for MachineDeploymentStrategy
impl Sync for MachineDeploymentStrategy
impl Unpin for MachineDeploymentStrategy
impl UnwindSafe for MachineDeploymentStrategy
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