pub struct Host {
pub host_id: String,
pub host_name: String,
pub host_type: String,
pub source: String,
pub reachable: bool,
pub claimable: bool,
pub info: Observation<HostInfo>,
}Expand description
Hub-vantage machine observation. source is local for the Hub host or mdns
for other LAN records. /info is signed LAN for every reachable Host.
claimable is Host ACL empty; it is not an /info error.
Fields§
§host_id: String§host_name: String§host_type: String§source: String§reachable: bool§claimable: bool§info: Observation<HostInfo>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Host
impl<'de> Deserialize<'de> for Host
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 Host
impl RefUnwindSafe for Host
impl Send for Host
impl Sync for Host
impl Unpin for Host
impl UnsafeUnpin for Host
impl UnwindSafe for Host
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