pub struct SystemNotificationData {
pub content: String,
pub kind: Value,
}Expand description
System-generated notification for runtime events like background task completion
Fields§
§content: StringThe notification text, typically wrapped in <system_notification> XML tags
kind: ValueStructured metadata identifying what triggered this notification
Trait Implementations§
Source§impl Clone for SystemNotificationData
impl Clone for SystemNotificationData
Source§fn clone(&self) -> SystemNotificationData
fn clone(&self) -> SystemNotificationData
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 SystemNotificationData
impl Debug for SystemNotificationData
Source§impl<'de> Deserialize<'de> for SystemNotificationData
impl<'de> Deserialize<'de> for SystemNotificationData
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 SystemNotificationData
impl RefUnwindSafe for SystemNotificationData
impl Send for SystemNotificationData
impl Sync for SystemNotificationData
impl Unpin for SystemNotificationData
impl UnsafeUnpin for SystemNotificationData
impl UnwindSafe for SystemNotificationData
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