#[non_exhaustive]pub enum DnsForm {
Scalar(Located<String>),
List(Vec<Located<String>>),
}Expand description
The exact authored scalar or ordered-list form of service dns.
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 server string scalar.
List(Vec<Located<String>>)
An explicitly authored ordered list, including an explicit empty list.
Trait Implementations§
impl Eq for DnsForm
impl StructuralPartialEq for DnsForm
Auto Trait Implementations§
impl Freeze for DnsForm
impl RefUnwindSafe for DnsForm
impl Send for DnsForm
impl Sync for DnsForm
impl Unpin for DnsForm
impl UnsafeUnpin for DnsForm
impl UnwindSafe for DnsForm
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