use diesel_derive_enum::DbEnum;
use serde::{Deserialize, Serialize};
use typeshare::typeshare;
use utoipa::ToSchema;
#[allow(clippy::missing_docs_in_private_items)] #[typeshare]
#[derive(Serialize, Deserialize, DbEnum, Debug, ToSchema, Clone, PartialEq, Eq)]
#[ExistingTypePath = "crate::schema::sql_types::SoilTexture"]
pub enum SoilTextureEnum {
#[serde(rename = "sandy")]
#[db_rename = "sandy"]
Sandy,
#[serde(rename = "loamy")]
#[db_rename = "loamy"]
Loamy,
#[serde(rename = "clay")]
#[db_rename = "clay"]
Clay,
#[serde(rename = "sealed")]
#[db_rename = "sealed"]
Sealed,
}