diff options
author | Roey Darwish Dror <roeyd@infinidat.com> | 2016-12-26 15:20:49 +0200 |
---|---|---|
committer | Roey Darwish Dror <roeyd@infinidat.com> | 2016-12-26 15:20:49 +0200 |
commit | 5aa39a59dab6a05e313a7210e05e713573e2489c (patch) | |
tree | 745ee7e63ab84f34c205556bf512143e944653dd /src/rep.rs | |
parent | f019e700a5507983618ab84a40d4dcd8e8ed69b6 (diff) |
Make id and status optional for events
"id" and "status" are not present in network events.
Diffstat (limited to 'src/rep.rs')
-rw-r--r-- | src/rep.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -363,8 +363,8 @@ pub struct Exit { #[derive(Debug, RustcEncodable, RustcDecodable)] #[allow(non_snake_case)] pub struct Event { - pub status: String, - pub id: String, + pub status: Option<String>, + pub id: Option<String>, pub from: Option<String>, pub time: u64, pub timeNano: u64, |