ros2_interfaces_rolling/visualization_msgs/srv/
get_interactive_markers.rs1use serde::{Deserialize, Serialize};
2
3
4#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5pub struct GetInteractiveMarkersRequest {
6
7}
8
9impl Default for GetInteractiveMarkersRequest {
10 fn default() -> Self {
11 GetInteractiveMarkersRequest {
12
13 }
14 }
15}
16
17impl ros2_client::Message for GetInteractiveMarkersRequest {}
18
19
20
21#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
22pub struct GetInteractiveMarkersResponse {
23 pub sequence_number: u64,
24 pub markers: Vec<crate::visualization_msgs::msg::InteractiveMarker>,
25}
26
27impl Default for GetInteractiveMarkersResponse {
28 fn default() -> Self {
29 GetInteractiveMarkersResponse {
30 sequence_number: 0,
31 markers: Vec::new(),
32 }
33 }
34}
35
36impl ros2_client::Message for GetInteractiveMarkersResponse {}
37
38
39pub struct GetInteractiveMarkers;
40impl ros2_client::Service for GetInteractiveMarkers {
41 type Request = GetInteractiveMarkersRequest;
42 type Response = GetInteractiveMarkersResponse;
43
44 fn request_type_name(&self) -> &str { "GetInteractiveMarkersRequest" }
45 fn response_type_name(&self) -> &str { "GetInteractiveMarkersResponse" }
46}