#[repr(C)]
#[derive(Debug, ros2_types::Ros2Msg, ros2_types::TypeDescription)]
#[ros2(package = "visualization_msgs", interface_type = "msg")]
#[cfg_attr(
not(feature = "rcl"),
derive(ros2_types::serde::Serialize, ros2_types::serde::Deserialize)
)]
#[cfg_attr(not(feature = "rcl"), serde(crate = "ros2_types::serde"))]
pub struct MenuEntry {
pub id: u32,
pub parent_id: u32,
pub title: crate::msg::RosString<0>,
pub command: crate::msg::RosString<0>,
pub command_type: u8,
}
impl MenuEntry {
pub const FEEDBACK: u8 = 0;
pub const ROSRUN: u8 = 1;
pub const ROSLAUNCH: u8 = 2;
}