ros2_interfaces_rolling/rmf_traffic_msgs/msg/
schedule_query_participants.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct ScheduleQueryParticipants {
5 #[serde(rename = "type")] pub type_: u16,
6 pub ids: Vec<u64>,
7}
8
9impl ScheduleQueryParticipants {
10 pub const ALL: u16 = 1;
11 pub const INCLUDE: u16 = 2;
12 pub const EXCLUDE: u16 = 3;
13}
14
15impl Default for ScheduleQueryParticipants {
16 fn default() -> Self {
17 ScheduleQueryParticipants {
18 type_: 0,
19 ids: Vec::new(),
20 }
21 }
22}
23
24impl ros2_client::Message for ScheduleQueryParticipants {}