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 GetGeographicMapRequest {
    pub url: ::std::string::String,
    pub bounds: crate::geographic_msgs::msg::BoundingBox,
}

impl Default for GetGeographicMapRequest {
    fn default() -> Self {
        GetGeographicMapRequest {
            url: ::std::string::String::new(),
            bounds: crate::geographic_msgs::msg::BoundingBox::default(),
        }
    }
}

impl ros2_client::Message for GetGeographicMapRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct GetGeographicMapResponse {
    pub success: bool,
    pub status: ::std::string::String,
    pub map: crate::geographic_msgs::msg::GeographicMap,
}

impl Default for GetGeographicMapResponse {
    fn default() -> Self {
        GetGeographicMapResponse {
            success: false,
            status: ::std::string::String::new(),
            map: crate::geographic_msgs::msg::GeographicMap::default(),
        }
    }
}

impl ros2_client::Message for GetGeographicMapResponse {}


pub struct GetGeographicMap;
impl ros2_client::Service for GetGeographicMap {
    type Request = GetGeographicMapRequest;
    type Response = GetGeographicMapResponse;

    fn request_type_name(&self) -> &str { "GetGeographicMapRequest" }
    fn response_type_name(&self) -> &str { "GetGeographicMapResponse" }
}