pub struct DoneEvent {
pub event: String,
pub data: String,
}
Expand description
Occurs when a stream ends.
Fields§
§event: String
§data: String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DoneEvent
impl RefUnwindSafe for DoneEvent
impl Send for DoneEvent
impl Sync for DoneEvent
impl Unpin for DoneEvent
impl UnwindSafe for DoneEvent
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