Crate verify_string
source ·Structs§
- Range-based string length verification
- Builder for
LengthVerifier
. - Builder for
RegexVerifier
. - ProfanityVerifier is a struct that contains a list of profanities that are used to check if a string contains any of the profanities.
- Builder for
WordVerifier
.
Enums§
- Error type for LengthVerifierBuilder
- Error type for RegexVerifierBuilder
- Error type for WordVerifierBuilder
Constants§
Traits§
Functions§
- Trim the given characters from the left side of the string.
- Check if a character is present in a string, excluding the beginning and end
- Create a regex that matches any of the characters in the provided list.
- Check if a character is present at the beginning or end of a string
- Trim the given characters from the right side of the string.
- Trim the given characters from both sides of the string.