pub struct SessionModeNoticeDeliveredData {
pub content: Option<String>,
pub mode: SessionMode,
}Expand description
Session event “session.mode_notice_delivered”. Records that a mode transition notice reached the model so cache-stable mode tools can remain offered across resume.
Fields§
§content: Option<String>Model-visible transition notice persisted for a mid-turn delivery
mode: SessionModeMode established by the delivered transition notice
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SessionModeNoticeDeliveredData
impl<'de> Deserialize<'de> for SessionModeNoticeDeliveredData
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 SessionModeNoticeDeliveredData
impl RefUnwindSafe for SessionModeNoticeDeliveredData
impl Send for SessionModeNoticeDeliveredData
impl Sync for SessionModeNoticeDeliveredData
impl Unpin for SessionModeNoticeDeliveredData
impl UnsafeUnpin for SessionModeNoticeDeliveredData
impl UnwindSafe for SessionModeNoticeDeliveredData
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