Geoffrey-rs/geoffrey_models/src/models/parameters/delete_params.rs

16 lines
324 B
Rust

use crate::models::parameters::GeoffreyParam;
use serde::{Deserialize, Serialize};
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct DeleteParams {
pub location: String,
}
impl DeleteParams {
pub fn new(location: String) -> Self {
Self { location }
}
}
impl GeoffreyParam for DeleteParams {}