#[derive(Clone, Copy)]
#[cfg_attr(
feature = "diesel",
derive(diesel::sql_types::SqlType, diesel::query_builder::QueryId)
)]
#[cfg_attr(feature = "postgres", diesel(postgres_type(name = "geometry")))]
#[cfg_attr(feature = "sqlite", diesel(sqlite_type(name = "Binary")))]
pub struct Geometry;
#[derive(Clone, Copy)]
#[cfg_attr(
feature = "diesel",
derive(diesel::sql_types::SqlType, diesel::query_builder::QueryId)
)]
#[cfg_attr(feature = "postgres", diesel(postgres_type(name = "geography")))]
#[cfg_attr(feature = "sqlite", diesel(sqlite_type(name = "Binary")))]
pub struct Geography;
#[cfg(feature = "diesel")]
pub trait GeoType: diesel::sql_types::SingleValue {}
#[cfg(feature = "diesel")]
impl GeoType for Geometry {}
#[cfg(feature = "diesel")]
impl GeoType for Geography {}