1 2 3 4 5 6 7 8 9 10
use serde::{Deserialize, Serialize}; #[derive(Debug, Clone, Default, Deserialize, Serialize)] #[serde(rename_all = "camelCase")] pub struct ActivationPayload { pub process_name: String, pub pid: u32, pub argv: Vec<String>, pub cwd: Option<String>, }