ros2_interfaces_rolling/micro_ros_msgs/msg/
node.rs

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

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct Node {
    pub node_namespace: ::std::string::String,
    pub node_name: ::std::string::String,
    pub entities: Vec<crate::micro_ros_msgs::msg::Entity>,
}

impl Default for Node {
    fn default() -> Self {
        Node {
            node_namespace: ::std::string::String::new(),
            node_name: ::std::string::String::new(),
            entities: Vec::new(),
        }
    }
}

impl ros2_client::Message for Node {}