#[non_exhaustive]pub struct NameServer {
pub address: String,
pub routing_instance: Option<String>,
}Expand description
A DNS server from name-server.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.address: String§routing_instance: Option<String>Set when the server is reached through a routing instance such as mgmt_junos.
Trait Implementations§
Source§impl Clone for NameServer
impl Clone for NameServer
Source§impl Debug for NameServer
impl Debug for NameServer
impl Eq for NameServer
Source§impl PartialEq for NameServer
impl PartialEq for NameServer
impl StructuralPartialEq for NameServer
Auto Trait Implementations§
impl Forget for NameServer
impl Freeze for NameServer
impl Move for NameServer
impl RefUnwindSafe for NameServer
impl Send for NameServer
impl Sync for NameServer
impl Unpin for NameServer
impl UnsafeUnpin for NameServer
impl UnwindSafe for NameServer
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