1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! `CommandStatus` module
//!
use serde::{Deserialize, Serialize};

/// `CommandStatus` definition
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "lowercase")]
pub enum CommandStatus {
    /// Command has `Ongoing` status
    Ongoing,
    /// Command has `Success` status
    Success,
    /// Command has `Failure` status
    Failure,
}