#[non_exhaustive]pub enum GeneratedLoggingOptionValue {
String(GeneratedString),
Number(GeneratedString),
Null,
}Expand description
A generated logging-option value with an explicit YAML scalar kind.
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.
String(GeneratedString)
Emit one YAML string with minimal safe quoting.
Number(GeneratedString)
Emit one validated unquoted YAML number with exact spelling retained.
Null
Emit an explicit YAML null.
Trait Implementations§
Source§impl Clone for GeneratedLoggingOptionValue
impl Clone for GeneratedLoggingOptionValue
Source§fn clone(&self) -> GeneratedLoggingOptionValue
fn clone(&self) -> GeneratedLoggingOptionValue
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 GeneratedLoggingOptionValue
impl Debug for GeneratedLoggingOptionValue
impl Eq for GeneratedLoggingOptionValue
impl StructuralPartialEq for GeneratedLoggingOptionValue
Auto Trait Implementations§
impl Freeze for GeneratedLoggingOptionValue
impl RefUnwindSafe for GeneratedLoggingOptionValue
impl Send for GeneratedLoggingOptionValue
impl Sync for GeneratedLoggingOptionValue
impl Unpin for GeneratedLoggingOptionValue
impl UnsafeUnpin for GeneratedLoggingOptionValue
impl UnwindSafe for GeneratedLoggingOptionValue
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