ros2_interfaces_rolling/rmf_workcell_msgs/msg/
workcell_result.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct WorkcellResult {
5 pub time: crate::builtin_interfaces::msg::Time,
6 pub request_guid: ::std::string::String,
7 pub source_guid: ::std::string::String,
8 pub status: u8,
9}
10
11impl WorkcellResult {
12 pub const ACKNOWLEDGED: u8 = 0;
13 pub const SUCCESS: u8 = 1;
14 pub const FAILED: u8 = 2;
15}
16
17impl Default for WorkcellResult {
18 fn default() -> Self {
19 WorkcellResult {
20 time: crate::builtin_interfaces::msg::Time::default(),
21 request_guid: ::std::string::String::new(),
22 source_guid: ::std::string::String::new(),
23 status: 0,
24 }
25 }
26}
27
28impl ros2_client::Message for WorkcellResult {}