nomad_api_types/types/
topic.rs

1/*
2 * This is an auto-generated file.
3 * Any manual changes may be overwritten without notice!
4 */
5
6use serde::{Deserialize, Serialize};
7
8/// Topic is an event Topic
9///
10/// This enum was generated based on the Go types of the official Nomad API client.
11#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
12pub enum Topic {
13    #[serde(rename = "Deployment")]
14    Deployment,
15
16    #[serde(rename = "Evaluation")]
17    Evaluation,
18
19    #[serde(rename = "Allocation")]
20    Allocation,
21
22    #[serde(rename = "Job")]
23    Job,
24
25    #[serde(rename = "Node")]
26    Node,
27
28    #[serde(rename = "NodePool")]
29    NodePool,
30
31    #[serde(rename = "Service")]
32    Service,
33
34    #[serde(rename = "*")]
35    All,
36}