1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use serde::Serialize; #[non_exhaustive] #[derive(Clone, Copy, PartialEq, Eq, Hash, Debug, Serialize)] #[serde(rename_all = "snake_case")] pub enum EventType { Workspace, Mode, Window, #[serde(rename = "barconfig_update")] BarConfigUpdate, Binding, Shutdown, Tick, BarStateUpdate, Input, }