String matching criterium from the criterium crate.
The String criterium has the following variants:
equals- Takes a string as argument.
- Matches if the string to match equals the given string.
has_prefix- Takes a string as argument.
- Matches if the string to match has the gven string as prefix.
has_suffix- Takes a string as argument.
- Matches if the string to match has the gven string as suffix.
contains- Takes a string as argument.
- Matches if the string to match contains the given string as a substring.
length- Takes a Number Criterium as argument.
- Matches the length of the string in unicode codepoints to match against the given Number Criterium.
is_none- Takes no argument
- Matches if the string to match is None