mindcontrol_types 0.21.0

Mind Control types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};

/// Variable type. It defines meta information about the variable.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct VarV1 {
    /// Unique variable identifier. Used to identify the changes in the payload.
    pub id: String,
    /// Variable name unique to the context. Used to access the variable from the client.
    pub name: String,
    /// Variable description. Used as the documentation.
    pub description: String,
}