#[non_exhaustive]pub enum LoggingOptionValue {
String(String),
Number(String),
Null,
}Expand description
An authored logging-option scalar with its exact Compose-supported YAML kind 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(String)
A YAML string scalar, including interpolation-shaped text.
Number(String)
A YAML number scalar with exact semantic spelling retained.
Null
An explicit or empty YAML null.
Trait Implementations§
Source§impl Clone for LoggingOptionValue
impl Clone for LoggingOptionValue
Source§fn clone(&self) -> LoggingOptionValue
fn clone(&self) -> LoggingOptionValue
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 LoggingOptionValue
impl Debug for LoggingOptionValue
impl Eq for LoggingOptionValue
Source§impl PartialEq for LoggingOptionValue
impl PartialEq for LoggingOptionValue
impl StructuralPartialEq for LoggingOptionValue
Auto Trait Implementations§
impl Freeze for LoggingOptionValue
impl RefUnwindSafe for LoggingOptionValue
impl Send for LoggingOptionValue
impl Sync for LoggingOptionValue
impl Unpin for LoggingOptionValue
impl UnsafeUnpin for LoggingOptionValue
impl UnwindSafe for LoggingOptionValue
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