Struct nomad_client_rs::models::event::Event
source · pub struct Event {
pub index: i32,
pub key: String,
pub namespace: String,
pub topic: Option<EventTopic>,
pub type: Option<EventType>,
pub payload: Option<EventPayload>,
}
Fields§
§index: i32
§key: String
§namespace: String
§topic: Option<EventTopic>
§type: Option<EventType>
§payload: Option<EventPayload>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more