Struct spaceapi::Event [] [src]

pub struct Event {
    pub name: String,
    pub _type: String,
    pub timestamp: u64,
    pub extra: Optional<String>,
}

Fields

name: String _type: String timestamp: u64 extra: Optional<String>

Trait Implementations

impl Decodable for Event
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Event, __D::Error>

impl PartialEq for Event
[src]

fn eq(&self, __arg_0: &Event) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Event) -> bool

This method tests for !=.

impl Clone for Event
[src]

fn clone(&self) -> Event

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for Event
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl ToJson for Event
[src]

fn to_json(&self) -> Json

Converts the value of self to an instance of JSON