Struct eventsource_client::Event
source · [−]pub struct Event {
pub event_type: String,
pub data: String,
pub id: Option<String>,
pub retry: Option<u64>,
}
Fields
event_type: String
data: String
id: Option<String>
retry: Option<u64>
Trait Implementations
impl StructuralPartialEq for Event
Auto Trait Implementations
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more