ros2_interfaces_rolling/example_interfaces/msg/
bool.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 Bool {
    pub data: bool,
}

impl Default for Bool {
    fn default() -> Self {
        Bool {
            data: false,
        }
    }
}

impl ros2_client::Message for Bool {}