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 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
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