validators 0.25.3

This library is designed for validating and modeling user input. The crate includes models, functions, traits, errors, and other dependencies.
Documentation
1
2
3
4
5
6
7
use alloc::string::String;

/// The `email` validator will implement this for its types.
pub trait ToEmailString {
    /// Retrieve the email as a string.
    fn to_email_string(&self) -> String;
}