#[non_exhaustive]pub enum GeneratedDns {
Scalar(GeneratedString),
List(Vec<GeneratedString>),
}Expand description
The exact service dns form selected for generated Compose output.
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.
Scalar(GeneratedString)
Emit one raw DNS server string.
List(Vec<GeneratedString>)
Emit one ordered YAML string list, including an explicit empty list.
Trait Implementations§
Source§impl Clone for GeneratedDns
impl Clone for GeneratedDns
Source§fn clone(&self) -> GeneratedDns
fn clone(&self) -> GeneratedDns
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 GeneratedDns
impl Debug for GeneratedDns
impl Eq for GeneratedDns
Source§impl PartialEq for GeneratedDns
impl PartialEq for GeneratedDns
impl StructuralPartialEq for GeneratedDns
Auto Trait Implementations§
impl Freeze for GeneratedDns
impl RefUnwindSafe for GeneratedDns
impl Send for GeneratedDns
impl Sync for GeneratedDns
impl Unpin for GeneratedDns
impl UnsafeUnpin for GeneratedDns
impl UnwindSafe for GeneratedDns
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