[][src]Trait validators::ValidatedWrapper

pub trait ValidatedWrapper: Validated {
    type Error: Display + PartialEq + Clone + Debug;
    fn from_string(from_string_input: String) -> Result<Self, Self::Error>;
fn from_str(from_str_input: &str) -> Result<Self, Self::Error>; }

Associated Types

Loading content...

Required methods

fn from_string(from_string_input: String) -> Result<Self, Self::Error>

fn from_str(from_str_input: &str) -> Result<Self, Self::Error>

Loading content...

Implementors

impl ValidatedWrapper for Base32[src]

type Error = Base32Error

impl ValidatedWrapper for Base64[src]

type Error = Base64Error

impl ValidatedWrapper for Base64Url[src]

type Error = Base64UrlError

impl ValidatedWrapper for Boolean[src]

type Error = BooleanError

impl ValidatedWrapper for DomainLocalhostableAllowPort[src]

type Error = DomainError

impl ValidatedWrapper for DomainLocalhostableWithPort[src]

type Error = DomainError

impl ValidatedWrapper for DomainLocalhostableWithoutPort[src]

type Error = DomainError

impl ValidatedWrapper for DomainUnlocalhostableAllowPort[src]

type Error = DomainError

impl ValidatedWrapper for DomainUnlocalhostableWithPort[src]

type Error = DomainError

impl ValidatedWrapper for DomainUnlocalhostableWithoutPort[src]

type Error = DomainError

impl ValidatedWrapper for Email[src]

type Error = EmailError

impl ValidatedWrapper for HostLocalable[src]

type Error = HostError

impl ValidatedWrapper for HostUnlocalable[src]

type Error = HostError

impl ValidatedWrapper for HttpFtpUrlLocalableWithProtocol[src]

type Error = HttpFtpUrlError

impl ValidatedWrapper for HttpFtpUrlLocalableWithoutProtocol[src]

type Error = HttpFtpUrlError

impl ValidatedWrapper for HttpFtpUrlUnlocalableWithProtocol[src]

type Error = HttpFtpUrlError

impl ValidatedWrapper for HttpFtpUrlUnlocalableWithoutProtocol[src]

type Error = HttpFtpUrlError

impl ValidatedWrapper for HttpUrlLocalableWithProtocol[src]

type Error = HttpUrlError

impl ValidatedWrapper for HttpUrlLocalableWithoutProtocol[src]

type Error = HttpUrlError

impl ValidatedWrapper for HttpUrlUnlocalableWithProtocol[src]

type Error = HttpUrlError

impl ValidatedWrapper for HttpUrlUnlocalableWithoutProtocol[src]

type Error = HttpUrlError

impl ValidatedWrapper for IntegerAny[src]

type Error = IntegerError

impl ValidatedWrapper for IntegerGtZero[src]

type Error = IntegerError

impl ValidatedWrapper for IntegerGteZero[src]

type Error = IntegerError

impl ValidatedWrapper for IntegerLtZero[src]

type Error = IntegerError

impl ValidatedWrapper for IntegerLteZero[src]

type Error = IntegerError

impl ValidatedWrapper for IPv4LocalableAllowPort[src]

type Error = IPv4Error

impl ValidatedWrapper for IPv4LocalableWithPort[src]

type Error = IPv4Error

impl ValidatedWrapper for IPv4LocalableWithoutPort[src]

type Error = IPv4Error

impl ValidatedWrapper for IPv4UnlocalableAllowPort[src]

type Error = IPv4Error

impl ValidatedWrapper for IPv4UnlocalableWithPort[src]

type Error = IPv4Error

impl ValidatedWrapper for IPv4UnlocalableWithoutPort[src]

type Error = IPv4Error

impl ValidatedWrapper for IPv6LocalableAllowPort[src]

type Error = IPv6Error

impl ValidatedWrapper for IPv6LocalableWithPort[src]

type Error = IPv6Error

impl ValidatedWrapper for IPv6LocalableWithoutPort[src]

type Error = IPv6Error

impl ValidatedWrapper for IPv6UnlocalableAllowPort[src]

type Error = IPv6Error

impl ValidatedWrapper for IPv6UnlocalableWithPort[src]

type Error = IPv6Error

impl ValidatedWrapper for IPv6UnlocalableWithoutPort[src]

type Error = IPv6Error

impl ValidatedWrapper for JSON[src]

type Error = JSONError

impl ValidatedWrapper for JSONArray[src]

type Error = JSONArrayError

impl ValidatedWrapper for JSONObject[src]

type Error = JSONObjectError

impl ValidatedWrapper for Line[src]

type Error = LineError

impl ValidatedWrapper for MacAddressAllowAnyCaseAllowColon[src]

type Error = MacAddressError

impl ValidatedWrapper for MacAddressAllowAnyCaseWithColon[src]

type Error = MacAddressError

impl ValidatedWrapper for MacAddressAllowAnyCaseWithoutColon[src]

type Error = MacAddressError

impl ValidatedWrapper for MacAddressLowerCaseAllowColon[src]

type Error = MacAddressError

impl ValidatedWrapper for MacAddressLowerCaseWithColon[src]

type Error = MacAddressError

impl ValidatedWrapper for MacAddressLowerCaseWithoutColon[src]

type Error = MacAddressError

impl ValidatedWrapper for MacAddressUpperCaseAllowColon[src]

type Error = MacAddressError

impl ValidatedWrapper for MacAddressUpperCaseWithColon[src]

type Error = MacAddressError

impl ValidatedWrapper for MacAddressUpperCaseWithoutColon[src]

type Error = MacAddressError

impl ValidatedWrapper for NumberAny[src]

type Error = NumberError

impl ValidatedWrapper for NumberGtZero[src]

type Error = NumberError

impl ValidatedWrapper for NumberGteZero[src]

type Error = NumberError

impl ValidatedWrapper for NumberLtZero[src]

type Error = NumberError

impl ValidatedWrapper for NumberLteZero[src]

type Error = NumberError

impl ValidatedWrapper for ShortCryptQRCodeAlphanumeric[src]

type Error = ShortCryptQRCodeAlphanumericError

impl ValidatedWrapper for ShortCryptUrlComponent[src]

type Error = ShortCryptUrlComponentError

impl ValidatedWrapper for Text[src]

type Error = TextError

impl ValidatedWrapper for URI[src]

type Error = URIError

impl ValidatedWrapper for UUIDAllowAnyCase[src]

type Error = UUIDError

impl ValidatedWrapper for UUIDLowerCase[src]

type Error = UUIDError

impl ValidatedWrapper for UUIDUpperCase[src]

type Error = UUIDError

impl ValidatedWrapper for Version[src]

type Error = VersionError

Loading content...