#[non_exhaustive]pub enum CpuPeriod {
YamlNumber(String),
String(String),
}Expand description
A service cpu_period 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 CpuPeriod
impl StructuralPartialEq for CpuPeriod
Auto Trait Implementations§
impl Freeze for CpuPeriod
impl RefUnwindSafe for CpuPeriod
impl Send for CpuPeriod
impl Sync for CpuPeriod
impl Unpin for CpuPeriod
impl UnsafeUnpin for CpuPeriod
impl UnwindSafe for CpuPeriod
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