ros2_interfaces_rolling/rmf_fleet_msgs/msg/
delivery_alert.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct DeliveryAlert {
5 pub id: ::std::string::String,
6 pub category: crate::rmf_fleet_msgs::msg::DeliveryAlertCategory,
7 pub tier: crate::rmf_fleet_msgs::msg::DeliveryAlertTier,
8 pub task_id: ::std::string::String,
9 pub action: crate::rmf_fleet_msgs::msg::DeliveryAlertAction,
10 pub message: ::std::string::String,
11}
12
13impl Default for DeliveryAlert {
14 fn default() -> Self {
15 DeliveryAlert {
16 id: ::std::string::String::new(),
17 category: crate::rmf_fleet_msgs::msg::DeliveryAlertCategory::default(),
18 tier: crate::rmf_fleet_msgs::msg::DeliveryAlertTier::default(),
19 task_id: ::std::string::String::new(),
20 action: crate::rmf_fleet_msgs::msg::DeliveryAlertAction::default(),
21 message: ::std::string::String::new(),
22 }
23 }
24}
25
26impl ros2_client::Message for DeliveryAlert {}