#[non_exhaustive]pub struct StaticHostMapping {
pub hostname: String,
pub aliases: Vec<String>,
pub inet: Vec<String>,
pub inet6: Vec<String>,
pub sysid: Option<String>,
}Expand description
A static-host-mapping <hostname> entry.
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.hostname: String§aliases: Vec<String>§inet: Vec<String>§inet6: Vec<String>§sysid: Option<String>The ISO system identifier, e.g. 0100.2550.0001.
Trait Implementations§
Source§impl Clone for StaticHostMapping
impl Clone for StaticHostMapping
Source§impl Debug for StaticHostMapping
impl Debug for StaticHostMapping
impl Eq for StaticHostMapping
Source§impl PartialEq for StaticHostMapping
impl PartialEq for StaticHostMapping
impl StructuralPartialEq for StaticHostMapping
Auto Trait Implementations§
impl Forget for StaticHostMapping
impl Freeze for StaticHostMapping
impl Move for StaticHostMapping
impl RefUnwindSafe for StaticHostMapping
impl Send for StaticHostMapping
impl Sync for StaticHostMapping
impl Unpin for StaticHostMapping
impl UnsafeUnpin for StaticHostMapping
impl UnwindSafe for StaticHostMapping
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