1 2 3 4 5 6 7 8 9 10 11
use super::*;
#[derive(Clone, Debug, Default, Serialize, Deserialize)]
pub struct DictConstraint {
/// Minimum length of utf8 string
pub min_length: Option<u32>,
/// Maximum length of utf8 string
pub max_length: Option<u32>,
#[serde(flatten)]
pub info: SharedConstraint,
}