use crate::prelude::*;
#[newtype(
source_key = "crates/icydb/src/base/types/geo.rs::newtype::1",
primitive = "Text",
item(prim = "Text", unbounded),
ty(
normalizer(path = "base::normalizer::text::Trim"),
validator(path = "base::validator::len::Range", args(1, 100)),
)
)]
pub struct AddressLine {}
#[newtype(
source_key = "crates/icydb/src/base/types/geo.rs::newtype::2",
primitive = "Text",
item(prim = "Text", unbounded),
ty(
normalizer(path = "base::normalizer::text::Trim"),
normalizer(path = "base::normalizer::text::case::Title"),
validator(path = "base::validator::len::Range", args(1, 100)),
)
)]
pub struct CityName {}
#[newtype(
source_key = "crates/icydb/src/base/types/geo.rs::newtype::3",
primitive = "Text",
item(prim = "Text", unbounded),
ty(
normalizer(path = "base::normalizer::text::Trim"),
normalizer(path = "base::normalizer::text::case::Upper"),
validator(path = "base::validator::len::Range", args(3, 12)),
)
)]
pub struct PostalCode {}
#[newtype(
source_key = "crates/icydb/src/base/types/geo.rs::newtype::4",
primitive = "Text",
item(prim = "Text", unbounded),
ty(
normalizer(path = "base::normalizer::text::Trim"),
normalizer(path = "base::normalizer::text::case::Upper"),
validator(path = "base::validator::len::Range", args(2, 50)),
)
)]
pub struct RegionName {}