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 UpdateGeographicMapRequest {
    pub updates: crate::geographic_msgs::msg::GeographicMapChanges,
}

impl Default for UpdateGeographicMapRequest {
    fn default() -> Self {
        UpdateGeographicMapRequest {
            updates: crate::geographic_msgs::msg::GeographicMapChanges::default(),
        }
    }
}

impl ros2_client::Message for UpdateGeographicMapRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct UpdateGeographicMapResponse {
    pub success: bool,
    pub status: ::std::string::String,
}

impl Default for UpdateGeographicMapResponse {
    fn default() -> Self {
        UpdateGeographicMapResponse {
            success: false,
            status: ::std::string::String::new(),
        }
    }
}

impl ros2_client::Message for UpdateGeographicMapResponse {}


pub struct UpdateGeographicMap;
impl ros2_client::Service for UpdateGeographicMap {
    type Request = UpdateGeographicMapRequest;
    type Response = UpdateGeographicMapResponse;

    fn request_type_name(&self) -> &str { "UpdateGeographicMapRequest" }
    fn response_type_name(&self) -> &str { "UpdateGeographicMapResponse" }
}