pub struct MessagePartEventProps {
pub session_id: Option<String>,
pub message_id: Option<String>,
pub index: Option<usize>,
pub part: Option<Part>,
pub delta: Option<String>,
pub extra: Value,
}Expand description
Properties for message part update events.
Fields§
§session_id: Option<String>Session ID.
message_id: Option<String>Message ID.
index: Option<usize>Part index.
part: Option<Part>Updated part content.
delta: Option<String>Streaming delta (incremental text).
extra: ValueAdditional properties.
Trait Implementations§
Source§impl Clone for MessagePartEventProps
impl Clone for MessagePartEventProps
Source§fn clone(&self) -> MessagePartEventProps
fn clone(&self) -> MessagePartEventProps
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessagePartEventProps
impl Debug for MessagePartEventProps
Source§impl<'de> Deserialize<'de> for MessagePartEventProps
impl<'de> Deserialize<'de> for MessagePartEventProps
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 MessagePartEventProps
impl RefUnwindSafe for MessagePartEventProps
impl Send for MessagePartEventProps
impl Sync for MessagePartEventProps
impl Unpin for MessagePartEventProps
impl UnwindSafe for MessagePartEventProps
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