ros2_interfaces_rolling/rmf_fleet_msgs/msg/
delivery_alert_action.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct DeliveryAlertAction {
5    pub value: u32,
6}
7
8impl DeliveryAlertAction {
9    pub const WAITING: u32 = 0;
10    pub const CANCEL: u32 = 1;
11    pub const OVERRIDE: u32 = 2;
12    pub const RESUME: u32 = 3;
13}
14
15impl Default for DeliveryAlertAction {
16    fn default() -> Self {
17        DeliveryAlertAction {
18            value: 0,
19        }
20    }
21}
22
23impl ros2_client::Message for DeliveryAlertAction {}