ros2_interfaces_rolling/rosgraph_msgs/msg/
clock.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 Clock {
    pub clock: crate::builtin_interfaces::msg::Time,
}

impl Default for Clock {
    fn default() -> Self {
        Clock {
            clock: crate::builtin_interfaces::msg::Time::default(),
        }
    }
}

impl ros2_client::Message for Clock {}