#[non_exhaustive]pub enum DeployReplicas {
YamlNumber(String),
String(String),
}Expand description
A raw deploy replica-count scalar with its YAML category preserved.
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 numeric scalar, retained without integer validation or normalization.
String(String)
A YAML string scalar, including empty and deferred expressions.
Trait Implementations§
Source§impl Clone for DeployReplicas
impl Clone for DeployReplicas
Source§fn clone(&self) -> DeployReplicas
fn clone(&self) -> DeployReplicas
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 DeployReplicas
impl Debug for DeployReplicas
impl Eq for DeployReplicas
Source§impl PartialEq for DeployReplicas
impl PartialEq for DeployReplicas
impl StructuralPartialEq for DeployReplicas
Auto Trait Implementations§
impl Freeze for DeployReplicas
impl RefUnwindSafe for DeployReplicas
impl Send for DeployReplicas
impl Sync for DeployReplicas
impl Unpin for DeployReplicas
impl UnsafeUnpin for DeployReplicas
impl UnwindSafe for DeployReplicas
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