#[non_exhaustive]pub enum ProjectDns {
Scalar(ProjectValue<String>),
List(Vec<ProjectValue<String>>),
}Expand description
Effective service dns syntax with collection and per-item merge provenance 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.
Scalar(ProjectValue<String>)
One effective raw scalar server string.
List(Vec<ProjectValue<String>>)
One effective ordered list, including an explicit empty or reset list.
Trait Implementations§
Source§impl Clone for ProjectDns
impl Clone for ProjectDns
Source§fn clone(&self) -> ProjectDns
fn clone(&self) -> ProjectDns
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 ProjectDns
impl Debug for ProjectDns
impl Eq for ProjectDns
Source§impl PartialEq for ProjectDns
impl PartialEq for ProjectDns
impl StructuralPartialEq for ProjectDns
Auto Trait Implementations§
impl Freeze for ProjectDns
impl RefUnwindSafe for ProjectDns
impl Send for ProjectDns
impl Sync for ProjectDns
impl Unpin for ProjectDns
impl UnsafeUnpin for ProjectDns
impl UnwindSafe for ProjectDns
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