pub struct SseEvent {
pub kind: String,
pub payload: Value,
pub final_event: bool,
}Expand description
SSE streaming event containing A2A protocol data
Fields§
§kind: StringEvent kind (e.g., “artifact-update”, “status-update”)
payload: ValueEvent payload
final_event: boolWhether this is the final event in the stream
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SseEvent
impl<'de> Deserialize<'de> for SseEvent
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 SseEvent
impl RefUnwindSafe for SseEvent
impl Send for SseEvent
impl Sync for SseEvent
impl Unpin for SseEvent
impl UnwindSafe for SseEvent
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