--- source: garde/tests/./rules/option.rs expression: snapshot --- Test { alphanumeric: Some( "😂", ), ascii: Some( "😂", ), length_min1_u8_slice: Some( [], ), contains_a: Some( "😂", ), credit_card: Some( "😂", ), email: Some( "😂", ), ip: Some( "😂", ), length_min1: Some( "", ), pat_a_or_b: Some( "😂", ), phone_number: Some( "😂", ), prefix_a: Some( "", ), range_min1: Some( 0, ), required: None, suffix_a: Some( "😂", ), url: Some( "😂", ), } alphanumeric: not alphanumeric ascii: not ascii contains_a: does not contain "a" credit_card: not a valid credit card number: invalid format email: not a valid email: value is missing `@` ip: not a valid IP address length_min1: length is lower than 1 length_min1_u8_slice: length is lower than 1 pat_a_or_b: does not match pattern /a|b/ phone_number: not a valid phone number: not a number prefix_a: value does not begin with "a" range_min1: lower than 1 required: not set suffix_a: does not end with "a" url: not a valid url: relative URL without a base Test { alphanumeric: None, ascii: None, length_min1_u8_slice: None, contains_a: None, credit_card: None, email: None, ip: None, length_min1: None, pat_a_or_b: None, phone_number: None, prefix_a: None, range_min1: None, required: None, suffix_a: None, url: None, } required: not set