pub struct SseFrame {
pub event: Option<String>,
pub data: String,
}Expand description
A provider-neutral SSE transport frame.
This is framing, not a model event IR. Pair modules still own event payload conversion after JSON decoding.
Fields§
§event: Option<String>§data: StringImplementations§
Trait Implementations§
impl Eq for SseFrame
impl StructuralPartialEq for SseFrame
Auto Trait Implementations§
impl Freeze for SseFrame
impl RefUnwindSafe for SseFrame
impl Send for SseFrame
impl Sync for SseFrame
impl Unpin for SseFrame
impl UnsafeUnpin for SseFrame
impl UnwindSafe for SseFrame
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