#[non_exhaustive]pub enum CpuRtPeriod {
YamlNumber(String),
Duration(String),
Expression(String),
Other(String),
}Expand description
A service cpu_rt_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.
Duration(String)
A raw Compose duration retained without conversion or normalization.
Expression(String)
A dollar-bearing string retained as a deferred expression.
Other(String)
A schema-valid string outside the duration policy, retained with a diagnostic.
Trait Implementations§
Source§impl Clone for CpuRtPeriod
impl Clone for CpuRtPeriod
Source§fn clone(&self) -> CpuRtPeriod
fn clone(&self) -> CpuRtPeriod
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 CpuRtPeriod
impl Debug for CpuRtPeriod
impl Eq for CpuRtPeriod
Source§impl PartialEq for CpuRtPeriod
impl PartialEq for CpuRtPeriod
impl StructuralPartialEq for CpuRtPeriod
Auto Trait Implementations§
impl Freeze for CpuRtPeriod
impl RefUnwindSafe for CpuRtPeriod
impl Send for CpuRtPeriod
impl Sync for CpuRtPeriod
impl Unpin for CpuRtPeriod
impl UnsafeUnpin for CpuRtPeriod
impl UnwindSafe for CpuRtPeriod
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