#[non_exhaustive]pub enum ProjectLoggingOptionValue {
String {
authored: String,
value: String,
},
Number(String),
Null,
}Expand description
One effective logging-option scalar with authored and interpolated spelling retained.
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
A YAML string scalar before and after optional per-file interpolation.
Fields
Exact authored string before interpolation.
Number(String)
A YAML number scalar with exact spelling retained.
Null
An explicit or empty YAML null.
Trait Implementations§
Source§impl Clone for ProjectLoggingOptionValue
impl Clone for ProjectLoggingOptionValue
Source§fn clone(&self) -> ProjectLoggingOptionValue
fn clone(&self) -> ProjectLoggingOptionValue
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 ProjectLoggingOptionValue
impl Debug for ProjectLoggingOptionValue
impl Eq for ProjectLoggingOptionValue
impl StructuralPartialEq for ProjectLoggingOptionValue
Auto Trait Implementations§
impl Freeze for ProjectLoggingOptionValue
impl RefUnwindSafe for ProjectLoggingOptionValue
impl Send for ProjectLoggingOptionValue
impl Sync for ProjectLoggingOptionValue
impl Unpin for ProjectLoggingOptionValue
impl UnsafeUnpin for ProjectLoggingOptionValue
impl UnwindSafe for ProjectLoggingOptionValue
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