pub struct SessionNotification {
pub session_id: SessionId,
pub update: SessionUpdate,
}Expand description
Notification containing a session update from the
agent. The agent streams these during
session/prompt processing.
PartialEq only — see SessionUpdate for the
reason.
Fields§
§session_id: SessionIdThe id of the session this update pertains to.
update: SessionUpdateThe actual update content.
Trait Implementations§
Source§impl Clone for SessionNotification
impl Clone for SessionNotification
Source§impl Debug for SessionNotification
impl Debug for SessionNotification
Source§impl<'de> Deserialize<'de> for SessionNotification
impl<'de> Deserialize<'de> for SessionNotification
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 SessionNotification
impl PartialEq for SessionNotification
Source§impl Serialize for SessionNotification
impl Serialize for SessionNotification
impl StructuralPartialEq for SessionNotification
Auto Trait Implementations§
impl Freeze for SessionNotification
impl RefUnwindSafe for SessionNotification
impl Send for SessionNotification
impl Sync for SessionNotification
impl Unpin for SessionNotification
impl UnsafeUnpin for SessionNotification
impl UnwindSafe for SessionNotification
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