pub struct AnthropicSseEvent {
pub event_type: String,
pub delta: Option<AnthropicSseDelta>,
}Expand description
Anthropic SSE event — only content_block_delta carries text.
Fields§
§event_type: String§delta: Option<AnthropicSseDelta>Trait Implementations§
Source§impl Debug for AnthropicSseEvent
impl Debug for AnthropicSseEvent
Source§impl<'de> Deserialize<'de> for AnthropicSseEvent
impl<'de> Deserialize<'de> for AnthropicSseEvent
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 AnthropicSseEvent
impl RefUnwindSafe for AnthropicSseEvent
impl Send for AnthropicSseEvent
impl Sync for AnthropicSseEvent
impl Unpin for AnthropicSseEvent
impl UnsafeUnpin for AnthropicSseEvent
impl UnwindSafe for AnthropicSseEvent
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