#[non_exhaustive]pub enum DeployRestartMaxAttempts {
YamlNumber(String),
String(String),
}Expand description
A raw deploy max-attempts YAML integer/string 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 integer scalar without range validation.
String(String)
A YAML string scalar without numeric validation.
Trait Implementations§
Source§impl Clone for DeployRestartMaxAttempts
impl Clone for DeployRestartMaxAttempts
Source§fn clone(&self) -> DeployRestartMaxAttempts
fn clone(&self) -> DeployRestartMaxAttempts
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 DeployRestartMaxAttempts
impl Debug for DeployRestartMaxAttempts
impl Eq for DeployRestartMaxAttempts
Source§impl PartialEq for DeployRestartMaxAttempts
impl PartialEq for DeployRestartMaxAttempts
impl StructuralPartialEq for DeployRestartMaxAttempts
Auto Trait Implementations§
impl Freeze for DeployRestartMaxAttempts
impl RefUnwindSafe for DeployRestartMaxAttempts
impl Send for DeployRestartMaxAttempts
impl Sync for DeployRestartMaxAttempts
impl Unpin for DeployRestartMaxAttempts
impl UnsafeUnpin for DeployRestartMaxAttempts
impl UnwindSafe for DeployRestartMaxAttempts
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