ros2_interfaces_rolling/micro_ros_msgs/msg/
graph.rs

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

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct Graph {
    pub nodes: Vec<crate::micro_ros_msgs::msg::Node>,
}

impl Default for Graph {
    fn default() -> Self {
        Graph {
            nodes: Vec::new(),
        }
    }
}

impl ros2_client::Message for Graph {}