pub struct EventStreamResponseRef<'a>(pub &'a Event);Expand description
A borrowed version of EventStreamResponse.
Tuple Fields§
§0: &'a EventThe new event sent by the server.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for EventStreamResponseRef<'a>
impl<'a> !RefUnwindSafe for EventStreamResponseRef<'a>
impl<'a> Send for EventStreamResponseRef<'a>
impl<'a> Sync for EventStreamResponseRef<'a>
impl<'a> Unpin for EventStreamResponseRef<'a>
impl<'a> !UnwindSafe for EventStreamResponseRef<'a>
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