pub struct SystemNotificationResponsePart {
pub content: StringOrMarkdown,
}Expand description
A system notification surfaced as part of the response stream.
System notifications are messages authored by the agent harness that need to be visible to both the agent (for situational awareness) and the user (for transcript continuity). Examples include “background subagent X completed” or “task Y was cancelled”.
Fields§
§content: StringOrMarkdownThe text of the system notification
Trait Implementations§
Source§impl Clone for SystemNotificationResponsePart
impl Clone for SystemNotificationResponsePart
Source§fn clone(&self) -> SystemNotificationResponsePart
fn clone(&self) -> SystemNotificationResponsePart
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<'de> Deserialize<'de> for SystemNotificationResponsePart
impl<'de> Deserialize<'de> for SystemNotificationResponsePart
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 SystemNotificationResponsePart
impl PartialEq for SystemNotificationResponsePart
Source§fn eq(&self, other: &SystemNotificationResponsePart) -> bool
fn eq(&self, other: &SystemNotificationResponsePart) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SystemNotificationResponsePart
Auto Trait Implementations§
impl Freeze for SystemNotificationResponsePart
impl RefUnwindSafe for SystemNotificationResponsePart
impl Send for SystemNotificationResponsePart
impl Sync for SystemNotificationResponsePart
impl Unpin for SystemNotificationResponsePart
impl UnsafeUnpin for SystemNotificationResponsePart
impl UnwindSafe for SystemNotificationResponsePart
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