pub struct MessageDeltaPayload {
pub stop_reason: Option<StopReason>,
}Expand description
Payload from the message_delta SSE event (stop reason, final usage).
Fields§
§stop_reason: Option<StopReason>Trait Implementations§
Source§impl Debug for MessageDeltaPayload
impl Debug for MessageDeltaPayload
Source§impl<'de> Deserialize<'de> for MessageDeltaPayload
impl<'de> Deserialize<'de> for MessageDeltaPayload
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 MessageDeltaPayload
impl RefUnwindSafe for MessageDeltaPayload
impl Send for MessageDeltaPayload
impl Sync for MessageDeltaPayload
impl Unpin for MessageDeltaPayload
impl UnsafeUnpin for MessageDeltaPayload
impl UnwindSafe for MessageDeltaPayload
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