2021-10-23 19:11:23 +00:00
|
|
|
use crate::models::locations::{LocationType};
|
2021-10-03 20:03:32 +00:00
|
|
|
use crate::models::{Position, Tunnel};
|
|
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
|
|
|
|
#[derive(Debug, Serialize, Deserialize, Clone)]
|
|
|
|
pub struct AddLocationParams {
|
|
|
|
pub name: String,
|
|
|
|
pub position: Position,
|
|
|
|
pub loc_type: LocationType,
|
|
|
|
pub tunnel: Option<Tunnel>,
|
|
|
|
}
|