#[non_exhaustive]pub enum DnsSearchForm {
Scalar(Located<String>),
List(Vec<Located<String>>),
}Expand description
The exact authored scalar or ordered-list form of service dns_search.
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(Located<String>)
One exact DNS search-domain string scalar.
List(Vec<Located<String>>)
An explicitly authored ordered list, including an explicit empty list.
Trait Implementations§
Source§impl Clone for DnsSearchForm
impl Clone for DnsSearchForm
Source§fn clone(&self) -> DnsSearchForm
fn clone(&self) -> DnsSearchForm
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 DnsSearchForm
impl Debug for DnsSearchForm
impl Eq for DnsSearchForm
Source§impl PartialEq for DnsSearchForm
impl PartialEq for DnsSearchForm
impl StructuralPartialEq for DnsSearchForm
Auto Trait Implementations§
impl Freeze for DnsSearchForm
impl RefUnwindSafe for DnsSearchForm
impl Send for DnsSearchForm
impl Sync for DnsSearchForm
impl Unpin for DnsSearchForm
impl UnsafeUnpin for DnsSearchForm
impl UnwindSafe for DnsSearchForm
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