pub struct HostResponse {Show 15 fields
pub id: Uuid,
pub machine_id: String,
pub hostname: String,
pub friendly_name: String,
pub os_type: Option<String>,
pub os_version: Option<String>,
pub architecture: Option<String>,
pub ip_address: Option<String>,
pub last_seen_at: Option<OffsetDateTime>,
pub created_at: OffsetDateTime,
pub updated_at: OffsetDateTime,
pub agents: Vec<HostAgentSummary>,
pub tags: Vec<HostTagSummary>,
pub features: Vec<String>,
pub software_status: HostSoftwareStatusSummary,
}Fields§
§id: Uuid§machine_id: String§hostname: String§friendly_name: String§os_type: Option<String>§os_version: Option<String>§architecture: Option<String>§ip_address: Option<String>§last_seen_at: Option<OffsetDateTime>§created_at: OffsetDateTime§updated_at: OffsetDateTime§agents: Vec<HostAgentSummary>Tags assigned to this host.
features: Vec<String>Agent-reported host features. Empty if not reported (legacy agent).
software_status: HostSoftwareStatusSummaryAggregate software status for host-list rendering.
Trait Implementations§
Source§impl Debug for HostResponse
impl Debug for HostResponse
Source§impl<'de> Deserialize<'de> for HostResponse
impl<'de> Deserialize<'de> for HostResponse
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 HostResponse
impl RefUnwindSafe for HostResponse
impl Send for HostResponse
impl Sync for HostResponse
impl Unpin for HostResponse
impl UnsafeUnpin for HostResponse
impl UnwindSafe for HostResponse
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more