ros2_interfaces_rolling/rmf_workcell_msgs/msg/
workcell_configuration.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct WorkcellConfiguration {
    pub time: crate::builtin_interfaces::msg::Time,
    pub guid: ::std::string::String,
    #[serde(rename = "type")]    pub type_: ::std::string::String,
    pub assets: Vec<crate::rmf_workcell_msgs::msg::Asset>,
    pub traits: Vec<crate::rmf_workcell_msgs::msg::Trait>,
}

impl Default for WorkcellConfiguration {
    fn default() -> Self {
        WorkcellConfiguration {
            time: crate::builtin_interfaces::msg::Time::default(),
            guid: ::std::string::String::new(),
            type_: ::std::string::String::new(),
            assets: Vec::new(),
            traits: Vec::new(),
        }
    }
}

impl ros2_client::Message for WorkcellConfiguration {}