#[non_exhaustive]pub enum DeployResourceCpus {
YamlNumber(String),
String(String),
}Expand description
Raw deploy resource CPU 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 or floating-point scalar without numeric validation or normalization.
String(String)
A YAML string scalar without numeric validation.
Trait Implementations§
Source§impl Clone for DeployResourceCpus
impl Clone for DeployResourceCpus
Source§fn clone(&self) -> DeployResourceCpus
fn clone(&self) -> DeployResourceCpus
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 DeployResourceCpus
impl Debug for DeployResourceCpus
impl Eq for DeployResourceCpus
Source§impl PartialEq for DeployResourceCpus
impl PartialEq for DeployResourceCpus
impl StructuralPartialEq for DeployResourceCpus
Auto Trait Implementations§
impl Freeze for DeployResourceCpus
impl RefUnwindSafe for DeployResourceCpus
impl Send for DeployResourceCpus
impl Sync for DeployResourceCpus
impl Unpin for DeployResourceCpus
impl UnsafeUnpin for DeployResourceCpus
impl UnwindSafe for DeployResourceCpus
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