Trait validators::traits::ValidateLength [−][src]
pub trait ValidateLength<T: CollectionLength> { type Error; type Output; fn parse_collection(v: T) -> Result<Self::Output, Self::Error>; fn validate_collection(v: &T) -> Result<(), Self::Error>; }
Validate the length of collections.