pub enum CvvCode {
Show 14 variants
E,
I,
M,
N,
P,
S,
U,
X,
AllOthers,
Zero,
One,
Two,
Three,
Four,
}
Expand description
The card verification value code for for Visa, Discover, Mastercard, or American Express.
Variants§
E
For Visa, Mastercard, Discover, or American Express, error - unrecognized or unknown response.
I
For Visa, Mastercard, Discover, or American Express, invalid or null.
M
For Visa, Mastercard, Discover, or American Express, the CVV2/CSC matches.
N
For Visa, Mastercard, Discover, or American Express, the CVV2/CSC does not match.
P
For Visa, Mastercard, Discover, or American Express, it was not processed.
S
For Visa, Mastercard, Discover, or American Express, the service is not supported.
U
For Visa, Mastercard, Discover, or American Express, unknown - the issuer is not certified.
X
For Visa, Mastercard, Discover, or American Express, no response. For Maestro, the service is not available.
AllOthers
For Visa, Mastercard, Discover, or American Express, error.
Zero
For Maestro, the CVV2 matched.
One
For Maestro, the CVV2 did not match.
Two
For Maestro, the merchant has not implemented CVV2 code handling.
Three
For Maestro, the merchant has indicated that CVV2 is not present on card.
Four
For Maestro, the service is not available.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CvvCode
impl<'de> Deserialize<'de> for CvvCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Copy for CvvCode
impl Eq for CvvCode
impl StructuralPartialEq for CvvCode
Auto Trait Implementations§
impl Freeze for CvvCode
impl RefUnwindSafe for CvvCode
impl Send for CvvCode
impl Sync for CvvCode
impl Unpin for CvvCode
impl UnwindSafe for CvvCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.