Struct card_validate::Validate [] [src]

pub struct Validate {
    pub card_type: Type,
}

Card validation utility. Used to validate a provided card number (length and Luhn checksum).

Fields

Methods

impl Validate
[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl PartialEq for Validate
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for Validate

impl Sync for Validate