#[non_exhaustive]pub enum DeployPlacementMaxReplicasPerNode {
YamlInteger(String),
String(String),
}Expand description
Raw deploy placement max-replicas-per-node 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.
YamlInteger(String)
A YAML integer scalar without range validation.
String(String)
A YAML string scalar without numeric validation.
Trait Implementations§
Source§impl Clone for DeployPlacementMaxReplicasPerNode
impl Clone for DeployPlacementMaxReplicasPerNode
Source§fn clone(&self) -> DeployPlacementMaxReplicasPerNode
fn clone(&self) -> DeployPlacementMaxReplicasPerNode
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 DeployPlacementMaxReplicasPerNode
impl StructuralPartialEq for DeployPlacementMaxReplicasPerNode
Auto Trait Implementations§
impl Freeze for DeployPlacementMaxReplicasPerNode
impl RefUnwindSafe for DeployPlacementMaxReplicasPerNode
impl Send for DeployPlacementMaxReplicasPerNode
impl Sync for DeployPlacementMaxReplicasPerNode
impl Unpin for DeployPlacementMaxReplicasPerNode
impl UnsafeUnpin for DeployPlacementMaxReplicasPerNode
impl UnwindSafe for DeployPlacementMaxReplicasPerNode
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