pub struct RawSseEvent {
pub id: String,
pub event: String,
pub data: String,
}Expand description
Raw SSE message frame as delivered by the /event endpoint.
Fields§
§id: StringLast-Event-ID value from the server, if any.
event: StringSSE event name from the server frame.
data: StringRaw JSON payload in the data: frame.
Trait Implementations§
Source§impl Clone for RawSseEvent
impl Clone for RawSseEvent
Source§fn clone(&self) -> RawSseEvent
fn clone(&self) -> RawSseEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RawSseEvent
impl Debug for RawSseEvent
Source§impl PartialEq for RawSseEvent
impl PartialEq for RawSseEvent
impl Eq for RawSseEvent
impl StructuralPartialEq for RawSseEvent
Auto Trait Implementations§
impl Freeze for RawSseEvent
impl RefUnwindSafe for RawSseEvent
impl Send for RawSseEvent
impl Sync for RawSseEvent
impl Unpin for RawSseEvent
impl UnwindSafe for RawSseEvent
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