pub struct NotificationRawEvent {
pub timestamp_ms: i64,
pub package_name: String,
pub category: Option<String>,
pub channel_id: Option<String>,
pub raw_title: String,
pub raw_text: String,
pub title_hint: Option<TextHint>,
pub text_hint: Option<TextHint>,
pub semantic_hints: Vec<SemanticHint>,
pub is_ongoing: bool,
pub group_key: Option<String>,
pub has_picture: bool,
}Expand description
通知原始事件 — ⚠️ 含 PII (标题和正文)
Fields§
§timestamp_ms: i64§package_name: String§category: Option<String>§channel_id: Option<String>§raw_title: String⚠️ PII
raw_text: String⚠️ PII
title_hint: Option<TextHint>Optional privacy-preserving title metadata computed by the collector.
Android production traces keep raw_title empty, but can still provide
this local-only feature so downstream routing does not lose all signal.
text_hint: Option<TextHint>Optional privacy-preserving body metadata computed by the collector.
Missing values are allowed so older JSONL traces remain readable.
semantic_hints: Vec<SemanticHint>Optional privacy-preserving semantic hints computed by the collector.
This carries enum labels such as FileMention; it must never contain
notification source text.
is_ongoing: bool§group_key: Option<String>§has_picture: boolTrait Implementations§
Source§impl Clone for NotificationRawEvent
impl Clone for NotificationRawEvent
Source§fn clone(&self) -> NotificationRawEvent
fn clone(&self) -> NotificationRawEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 NotificationRawEvent
impl Debug for NotificationRawEvent
Source§impl<'de> Deserialize<'de> for NotificationRawEvent
impl<'de> Deserialize<'de> for NotificationRawEvent
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 PartialEq for NotificationRawEvent
impl PartialEq for NotificationRawEvent
Source§impl Serialize for NotificationRawEvent
impl Serialize for NotificationRawEvent
impl Eq for NotificationRawEvent
impl StructuralPartialEq for NotificationRawEvent
Auto Trait Implementations§
impl Freeze for NotificationRawEvent
impl RefUnwindSafe for NotificationRawEvent
impl Send for NotificationRawEvent
impl Sync for NotificationRawEvent
impl Unpin for NotificationRawEvent
impl UnsafeUnpin for NotificationRawEvent
impl UnwindSafe for NotificationRawEvent
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