#[non_exhaustive]pub enum GeneratedCpuRtRuntime {
Microseconds(GeneratedString),
Duration(GeneratedString),
}Expand description
A generated cpu_rt_runtime spelling with an explicit YAML scalar category.
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.
Microseconds(GeneratedString)
An unquoted integer microsecond scalar.
Duration(GeneratedString)
A quoted Compose duration string.
Trait Implementations§
Source§impl Clone for GeneratedCpuRtRuntime
impl Clone for GeneratedCpuRtRuntime
Source§fn clone(&self) -> GeneratedCpuRtRuntime
fn clone(&self) -> GeneratedCpuRtRuntime
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 GeneratedCpuRtRuntime
impl Debug for GeneratedCpuRtRuntime
impl Eq for GeneratedCpuRtRuntime
Source§impl PartialEq for GeneratedCpuRtRuntime
impl PartialEq for GeneratedCpuRtRuntime
impl StructuralPartialEq for GeneratedCpuRtRuntime
Auto Trait Implementations§
impl Freeze for GeneratedCpuRtRuntime
impl RefUnwindSafe for GeneratedCpuRtRuntime
impl Send for GeneratedCpuRtRuntime
impl Sync for GeneratedCpuRtRuntime
impl Unpin for GeneratedCpuRtRuntime
impl UnsafeUnpin for GeneratedCpuRtRuntime
impl UnwindSafe for GeneratedCpuRtRuntime
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