#[non_exhaustive]pub enum CpuQuota {
YamlNumber(String),
String(String),
}Expand description
A service cpu_quota scalar category with exact authored 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 numeric scalar retained without conversion or normalization.
String(String)
A YAML string scalar retained without numeric coercion.
Trait Implementations§
impl Eq for CpuQuota
impl StructuralPartialEq for CpuQuota
Auto Trait Implementations§
impl Freeze for CpuQuota
impl RefUnwindSafe for CpuQuota
impl Send for CpuQuota
impl Sync for CpuQuota
impl Unpin for CpuQuota
impl UnsafeUnpin for CpuQuota
impl UnwindSafe for CpuQuota
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