pub struct HostEntry {
pub name: String,
pub ip: Option<String>,
pub active: bool,
}Expand description
A host of the host table.
Fields§
§name: String§ip: Option<String>§active: boolTrait Implementations§
impl Eq for HostEntry
impl StructuralPartialEq for HostEntry
Auto Trait Implementations§
impl Forget for HostEntry
impl Freeze for HostEntry
impl Move for HostEntry
impl RefUnwindSafe for HostEntry
impl Send for HostEntry
impl Sync for HostEntry
impl Unpin for HostEntry
impl UnsafeUnpin for HostEntry
impl UnwindSafe for HostEntry
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