Struct server_sent_events::event::Event
source · [−]pub struct Event {
pub comment: Option<Box<str>>,
pub retry: Option<usize>,
pub id: Option<Box<str>>,
pub type: Option<Box<str>>,
pub data: Option<EventData>,
}Fields
comment: Option<Box<str>>retry: Option<usize>id: Option<Box<str>>type: Option<Box<str>>data: Option<EventData>Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
impl UnwindSafe for Event
Blanket Implementations
Mutably borrows from an owned value. Read more