Struct sse_client::Event [−][src]
Event data sent by server
Fields
id: String
Represents message id
field. Default "".
type_: String
Represents message event
field. Default "message".
data: String
Represents message data
field. Default "".
Methods
impl Event
[src]
impl Event
Trait Implementations
impl Debug for Event
[src]
impl Debug for Event
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Event
[src]
impl PartialEq for Event
fn eq(&self, other: &Event) -> bool
[src]
fn eq(&self, other: &Event) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Event) -> bool
[src]
fn ne(&self, other: &Event) -> bool
This method tests for !=
.
impl Clone for Event
[src]
impl Clone for Event