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