pub struct NotificationAcked {
pub notification_id: String,
pub pc_id: String,
pub user_sid: String,
pub acked_at: DateTime<Utc>,
pub account: Option<String>,
}Expand description
Body of the
events.notifications.acked.{pc_id}.{user_sid}.{notif_id} event the
agent publishes when a user acks a notification. The backend’s
notification-acks projector reads these fields from the JSON body
(not by parsing the subject) so an id / SID containing a . can’t
desync the projected row from its subject tokens.
Fields§
§notification_id: String§pc_id: String§user_sid: String§acked_at: DateTime<Utc>§account: Option<String>The acking user’s login name (DOMAIN\sam or .\user), from the
agent connection’s resolved peer identity — far more legible than
the raw SID in the operator’s confirmation view. Additive +
optional so a pre-this-version agent’s ack (SID only) still
decodes; the backend falls back to the PC’s last-logon identity
when it’s absent.
Trait Implementations§
Source§impl Clone for NotificationAcked
impl Clone for NotificationAcked
Source§fn clone(&self) -> NotificationAcked
fn clone(&self) -> NotificationAcked
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NotificationAcked
impl Debug for NotificationAcked
Source§impl<'de> Deserialize<'de> for NotificationAcked
impl<'de> Deserialize<'de> for NotificationAcked
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
Source§impl JsonSchema for NotificationAcked
impl JsonSchema for NotificationAcked
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for NotificationAcked
impl RefUnwindSafe for NotificationAcked
impl Send for NotificationAcked
impl Sync for NotificationAcked
impl Unpin for NotificationAcked
impl UnsafeUnpin for NotificationAcked
impl UnwindSafe for NotificationAcked
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