vos_core/constraint/dict_constraint/
mod.rs

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