ros2_interfaces_humble/visualization_msgs/msg/
interactive_marker_update.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct InteractiveMarkerUpdate {
5 pub server_id: ::std::string::String,
6 pub seq_num: u64,
7 #[serde(rename = "type")] pub type_: u8,
8 pub markers: Vec<crate::visualization_msgs::msg::InteractiveMarker>,
9 pub poses: Vec<crate::visualization_msgs::msg::InteractiveMarkerPose>,
10 pub erases: Vec<::std::string::String>,
11}
12
13impl InteractiveMarkerUpdate {
14 pub const KEEP_ALIVE: u8 = 0;
15 pub const UPDATE: u8 = 1;
16}
17
18impl Default for InteractiveMarkerUpdate {
19 fn default() -> Self {
20 InteractiveMarkerUpdate {
21 server_id: ::std::string::String::new(),
22 seq_num: 0,
23 type_: 0,
24 markers: Vec::new(),
25 poses: Vec::new(),
26 erases: Vec::new(),
27 }
28 }
29}
30
31impl ros2_client::Message for InteractiveMarkerUpdate {}