Trait validators::ValidatedCustomizedString [−][src]
pub trait ValidatedCustomizedString<'a>: Validated { type Error; fn as_str(&'a self) -> &'a str; fn from_string(s: String) -> Result<Self, Self::Error>; fn from_str(s: &str) -> Result<Self, Self::Error>; }