ros2_interfaces_rolling/tuw_object_map_msgs/msg/
geo_json_geometry.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct GeoJSONGeometry {
5 #[serde(rename = "type")] pub type_: ::std::string::String,
6 pub coordinates: Vec<crate::tuw_object_map_msgs::msg::GeoPoint>,
7 pub properties: crate::tuw_object_map_msgs::msg::GeoJSONProperties,
8}
9
10impl Default for GeoJSONGeometry {
11 fn default() -> Self {
12 GeoJSONGeometry {
13 type_: ::std::string::String::new(),
14 coordinates: Vec::new(),
15 properties: crate::tuw_object_map_msgs::msg::GeoJSONProperties::default(),
16 }
17 }
18}
19
20impl ros2_client::Message for GeoJSONGeometry {}