ros2_interfaces_rolling/rosapi_msgs/srv/
set_param.rs

1use serde::{Deserialize, Serialize};
2
3
4#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5pub struct SetParamRequest {
6    pub name: ::std::string::String,
7    pub value: ::std::string::String,
8}
9
10impl Default for SetParamRequest {
11    fn default() -> Self {
12        SetParamRequest {
13            name: ::std::string::String::new(),
14            value: ::std::string::String::new(),
15        }
16    }
17}
18
19impl ros2_client::Message for SetParamRequest {}
20
21
22
23#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
24pub struct SetParamResponse {
25
26}
27
28impl Default for SetParamResponse {
29    fn default() -> Self {
30        SetParamResponse {
31
32        }
33    }
34}
35
36impl ros2_client::Message for SetParamResponse {}
37
38
39pub struct SetParam;
40impl ros2_client::Service for SetParam {
41    type Request = SetParamRequest;
42    type Response = SetParamResponse;
43
44    fn request_type_name(&self) -> &str { "SetParamRequest" }
45    fn response_type_name(&self) -> &str { "SetParamResponse" }
46}