nomad_client_rs/models/
reschedule_event.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct RescheduleEvent {
5    #[serde(rename = "PrevAllocID", skip_serializing_if = "Option::is_none")]
6    pub prev_alloc_id: Option<String>,
7    #[serde(rename = "PrevNodeID", skip_serializing_if = "Option::is_none")]
8    pub prev_node_id: Option<String>,
9    #[serde(rename = "RescheduleTime", skip_serializing_if = "Option::is_none")]
10    pub reschedule_time: Option<i64>,
11}