pub struct SystemNotificationData {
pub content: String,
pub kind: Value,
pub responses_reasoning: Option<ResponsesReasoning>,
}Expand description
Session event “system.notification”. 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
responses_reasoning: Option<ResponsesReasoning>Responses reasoning settings anchored before this model-facing message, for cache-stable history replay
Trait Implementations§
Source§impl Clone for SystemNotificationData
impl Clone for SystemNotificationData
Source§impl Debug for SystemNotificationData
impl Debug for SystemNotificationData
Source§impl Default for SystemNotificationData
impl Default 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