ros2-interfaces-iron 0.0.2

Structs for Messages and Services listed by ROS Index for ROS2 Iron. Built around the `ros2-client` crate.
Documentation
use serde::{Deserialize, Serialize};


#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct GetInteractiveMarkersRequest {

}

impl Default for GetInteractiveMarkersRequest {
    fn default() -> Self {
        GetInteractiveMarkersRequest {

        }
    }
}

impl ros2_client::Message for GetInteractiveMarkersRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct GetInteractiveMarkersResponse {
    pub sequence_number: u64,
    pub markers: Vec<crate::visualization_msgs::msg::InteractiveMarker>,
}

impl Default for GetInteractiveMarkersResponse {
    fn default() -> Self {
        GetInteractiveMarkersResponse {
            sequence_number: 0,
            markers: Vec::new(),
        }
    }
}

impl ros2_client::Message for GetInteractiveMarkersResponse {}


pub struct GetInteractiveMarkers;
impl ros2_client::Service for GetInteractiveMarkers {
    type Request = GetInteractiveMarkersRequest;
    type Response = GetInteractiveMarkersResponse;

    fn request_type_name(&self) -> &str { "GetInteractiveMarkersRequest" }
    fn response_type_name(&self) -> &str { "GetInteractiveMarkersResponse" }
}