pub struct AudiencePc {
pub pc_id: String,
pub last_logon_user: Option<String>,
pub last_logon_display_name: Option<String>,
pub confirmed: bool,
pub acked_at: Option<DateTime<Utc>>,
}Expand description
One targeted PC’s confirmation state, for the detail page’s “who
hasn’t confirmed” roster (④). Resolved by expanding the notification’s
fan-out subjects (all / group.X / pc.Y) to the fleet’s PCs and
joining against the recorded acks.
Granularity is the PC, not the individual user: the backend has no
full per-PC user roster, only each host’s last-logon identity, so
last_logon_* stands in as “the PC’s representative user”. confirmed
is true when any user on that PC acked (the detailed who-and-when is
in acks).
Fields§
§pc_id: String§last_logon_user: Option<String>The host’s last sign-in account (DOMAIN\sam) / display name from
the agents row — None for a targeted PC with no agent record
(e.g. an explicit pc.Y target that never registered).
last_logon_display_name: Option<String>§confirmed: bool§acked_at: Option<DateTime<Utc>>Earliest ack instant recorded for this PC; None while pending.
Trait Implementations§
Source§impl Clone for AudiencePc
impl Clone for AudiencePc
Source§fn clone(&self) -> AudiencePc
fn clone(&self) -> AudiencePc
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AudiencePc
impl Debug for AudiencePc
Source§impl<'de> Deserialize<'de> for AudiencePc
impl<'de> Deserialize<'de> for AudiencePc
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>,
Source§impl JsonSchema for AudiencePc
impl JsonSchema for AudiencePc
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more