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