mindcontrol_types/var.rs
1use serde::{Deserialize, Serialize};
2
3/// Variable type. It defines meta information about the variable.
4#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5pub struct VarV1 {
6 /// Unique variable identifier. Used to identify the changes in the payload.
7 pub id: String,
8 /// Variable name unique to the context. Used to access the variable from the client.
9 pub name: String,
10 /// Variable description. Used as the documentation.
11 pub description: String,
12}