ros2_interfaces_rolling/tuw_object_map_msgs/msg/
geo_json_properties.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct GeoJSONProperties {
5 pub id: u32,
6 #[serde(rename = "type")] pub type_: u32,
7 pub enflation_radius: Vec<f64>,
8 pub bondary_radius: Vec<f64>,
9}
10
11impl Default for GeoJSONProperties {
12 fn default() -> Self {
13 GeoJSONProperties {
14 id: 0,
15 type_: 0,
16 enflation_radius: Vec::new(),
17 bondary_radius: Vec::new(),
18 }
19 }
20}
21
22impl ros2_client::Message for GeoJSONProperties {}