#[repr(C)]pub struct EventMessage {
pub message: StbString,
}Expand description
A serialized message lifecycle payload (message_start/message_update/
message_end). message is JSON. For message_update, it follows native
Pi’s envelope and carries assistantMessageEvent; streaming consumers must
read its real text_delta.delta instead of diffing a cumulative snapshot.
Fields§
§message: StbStringTrait Implementations§
Source§impl Clone for EventMessage
impl Clone for EventMessage
impl Copy for EventMessage
Auto Trait Implementations§
impl Freeze for EventMessage
impl RefUnwindSafe for EventMessage
impl Send for EventMessage
impl Sync for EventMessage
impl Unpin for EventMessage
impl UnsafeUnpin for EventMessage
impl UnwindSafe for EventMessage
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