Trait GetPostalCodeValidator

Source
pub trait GetPostalCodeValidator {
    // Required method
    fn get_postal_code_validator(
        &self,
    ) -> Option<Box<dyn PostalCodeValidator + Send + Sync>>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl GetPostalCodeValidator for Country

Source§

fn get_postal_code_validator( &self, ) -> Option<Box<dyn PostalCodeValidator + Send + Sync>>

Return a validator for the given country if supported.

Implementors§