firecracker_rs_sdk/models/
instance_action_info.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Ord, Hash)]
4pub enum ActionType {
5    #[serde(rename = "FlushMetrics")]
6    FlushMetrics,
7    #[serde(rename = "InstanceStart")]
8    InstanceStart,
9    #[serde(rename = "SendCtrlAltDel")]
10    SendCtrlAtlDel,
11}
12
13#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Ord, Hash)]
15pub struct InstanceActionInfo {
16    #[serde(rename = "action_type")]
20    pub action_type: ActionType,
21}