11 lines
233 B
Rust
11 lines
233 B
Rust
|
use serde::{Deserialize, Serialize};
|
||
|
|
||
|
use super::coordinate::Coordinate;
|
||
|
|
||
|
#[derive(Debug, Serialize, Deserialize)]
|
||
|
#[serde(rename_all = "camelCase")]
|
||
|
pub struct Circle {
|
||
|
pub center_position: Coordinate,
|
||
|
pub radius: String,
|
||
|
}
|