#[non_exhaustive]pub enum DeployUpdateMaxFailureRatio {
YamlNumber(String),
String(String),
}Expand description
Raw update maximum-failure-ratio scalar category and spelling.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
YamlNumber(String)
A YAML number scalar without range validation.
String(String)
A strict YAML string scalar without numeric validation.
Trait Implementations§
Source§impl Clone for DeployUpdateMaxFailureRatio
impl Clone for DeployUpdateMaxFailureRatio
Source§fn clone(&self) -> DeployUpdateMaxFailureRatio
fn clone(&self) -> DeployUpdateMaxFailureRatio
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeployUpdateMaxFailureRatio
impl Debug for DeployUpdateMaxFailureRatio
impl Eq for DeployUpdateMaxFailureRatio
impl StructuralPartialEq for DeployUpdateMaxFailureRatio
Auto Trait Implementations§
impl Freeze for DeployUpdateMaxFailureRatio
impl RefUnwindSafe for DeployUpdateMaxFailureRatio
impl Send for DeployUpdateMaxFailureRatio
impl Sync for DeployUpdateMaxFailureRatio
impl Unpin for DeployUpdateMaxFailureRatio
impl UnsafeUnpin for DeployUpdateMaxFailureRatio
impl UnwindSafe for DeployUpdateMaxFailureRatio
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