pub struct Hostinfo {
pub os: Option<String>,
pub os_version: Option<String>,
pub hostname: Option<String>,
pub services: Option<Vec<Service>>,
pub ssh_hostkeys: Option<Vec<String>>,
}
Expand description
Host information
Fields§
§os: Option<String>
§os_version: Option<String>
§hostname: Option<String>
§services: Option<Vec<Service>>
§ssh_hostkeys: Option<Vec<String>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Hostinfo
impl<'de> Deserialize<'de> for Hostinfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Hostinfo
impl RefUnwindSafe for Hostinfo
impl Send for Hostinfo
impl Sync for Hostinfo
impl Unpin for Hostinfo
impl UnwindSafe for Hostinfo
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