#[non_exhaustive]pub enum DeployRollbackMaxFailureRatio {
YamlNumber(String),
String(String),
}Expand description
Raw rollback 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 DeployRollbackMaxFailureRatio
impl Clone for DeployRollbackMaxFailureRatio
Source§fn clone(&self) -> DeployRollbackMaxFailureRatio
fn clone(&self) -> DeployRollbackMaxFailureRatio
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 moreimpl Eq for DeployRollbackMaxFailureRatio
impl StructuralPartialEq for DeployRollbackMaxFailureRatio
Auto Trait Implementations§
impl Freeze for DeployRollbackMaxFailureRatio
impl RefUnwindSafe for DeployRollbackMaxFailureRatio
impl Send for DeployRollbackMaxFailureRatio
impl Sync for DeployRollbackMaxFailureRatio
impl Unpin for DeployRollbackMaxFailureRatio
impl UnsafeUnpin for DeployRollbackMaxFailureRatio
impl UnwindSafe for DeployRollbackMaxFailureRatio
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