ros2_interfaces_rolling/marti_common_msgs/msg/
service_header.rs

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

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ServiceHeader {
    pub stamp: crate::builtin_interfaces::msg::Time,
    pub sequence: u32,
    pub sender: ::std::string::String,
    pub result: bool,
}

impl Default for ServiceHeader {
    fn default() -> Self {
        ServiceHeader {
            stamp: crate::builtin_interfaces::msg::Time::default(),
            sequence: 0,
            sender: ::std::string::String::new(),
            result: false,
        }
    }
}

impl ros2_client::Message for ServiceHeader {}