huellas/src/place.rs
Felipe Contreras Salinas 3a3c48c46e
Refactors and TODOs:
- Use anyhow for setup errors
- Implement comparison agaisnt db in insert test
- Crate updates
2023-08-04 23:44:22 -04:00

14 lines
338 B
Rust

use serde::{Deserialize, Serialize};
#[derive(Debug, Deserialize, PartialEq, Serialize)]
pub struct Place {
pub id: Option<i64>,
pub name: String,
pub address: String,
pub open_hours: String,
pub icon: String,
pub description: String,
pub longitude: f64,
pub latitude: f64,
pub url: Option<String>,
}