pub struct ControlPayload {
pub stream_next_offset: String,
pub stream_cursor: Option<String>,
pub up_to_date: Option<bool>,
pub stream_closed: Option<bool>,
}Expand description
JSON payload for event: control SSE events.
Field names use camelCase per PROTOCOL.md §5.8.
Fields§
§stream_next_offset: StringCurrent tail position (always present).
stream_cursor: Option<String>Cursor for CDN collapsing (present when stream is open).
up_to_date: Option<bool>True when client has caught up with all available data.
stream_closed: Option<bool>True when stream is closed and all data has been sent.
Trait Implementations§
Source§impl Debug for ControlPayload
impl Debug for ControlPayload
Auto Trait Implementations§
impl Freeze for ControlPayload
impl RefUnwindSafe for ControlPayload
impl Send for ControlPayload
impl Sync for ControlPayload
impl Unpin for ControlPayload
impl UnsafeUnpin for ControlPayload
impl UnwindSafe for ControlPayload
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