#[non_exhaustive]pub enum ProjectDnsSearch {
Scalar(ProjectValue<String>),
List(Vec<ProjectValue<String>>),
}Expand description
Effective service dns_search 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 search-domain string.
List(Vec<ProjectValue<String>>)
One effective ordered list, including an explicit empty or reset list.
Trait Implementations§
Source§impl Clone for ProjectDnsSearch
impl Clone for ProjectDnsSearch
Source§fn clone(&self) -> ProjectDnsSearch
fn clone(&self) -> ProjectDnsSearch
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 ProjectDnsSearch
impl Debug for ProjectDnsSearch
impl Eq for ProjectDnsSearch
Source§impl PartialEq for ProjectDnsSearch
impl PartialEq for ProjectDnsSearch
impl StructuralPartialEq for ProjectDnsSearch
Auto Trait Implementations§
impl Freeze for ProjectDnsSearch
impl RefUnwindSafe for ProjectDnsSearch
impl Send for ProjectDnsSearch
impl Sync for ProjectDnsSearch
impl Unpin for ProjectDnsSearch
impl UnsafeUnpin for ProjectDnsSearch
impl UnwindSafe for ProjectDnsSearch
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