use serde::{Deserialize, Serialize};
use zvariant::Type;
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize, Type)]
pub struct Action {
pub name: String,
pub description: String,
pub keybinding: String,
}
#[cfg(test)]
mod test {
use super::Action;
use zbus_lockstep::method_return_signature;
use zvariant::Type;
#[test]
fn validate_action_signature() {
let action_signature =
method_return_signature!(member: "GetActions", interface: "org.a11y.atspi.Action")
.slice(1..);
assert_eq!(Action::signature(), action_signature);
}
}