#[non_exhaustive]pub enum GeneratedVolumeDriverOptionValue {
String(GeneratedString),
Number(GeneratedString),
}Expand description
A generated volume driver-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.
Trait Implementations§
Source§impl Clone for GeneratedVolumeDriverOptionValue
impl Clone for GeneratedVolumeDriverOptionValue
Source§fn clone(&self) -> GeneratedVolumeDriverOptionValue
fn clone(&self) -> GeneratedVolumeDriverOptionValue
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 moreimpl Eq for GeneratedVolumeDriverOptionValue
impl StructuralPartialEq for GeneratedVolumeDriverOptionValue
Auto Trait Implementations§
impl Freeze for GeneratedVolumeDriverOptionValue
impl RefUnwindSafe for GeneratedVolumeDriverOptionValue
impl Send for GeneratedVolumeDriverOptionValue
impl Sync for GeneratedVolumeDriverOptionValue
impl Unpin for GeneratedVolumeDriverOptionValue
impl UnsafeUnpin for GeneratedVolumeDriverOptionValue
impl UnwindSafe for GeneratedVolumeDriverOptionValue
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