binlist_rs 0.1.1

Rust wrapper for Binlist API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::Deserialize;
use super::{Bank, Country, Bin};

#[derive(Debug, Deserialize, Clone)]
pub struct BinInformation {
    #[serde(rename = "number")]
    pub bin_data: Option<Bin>,
    pub scheme: Option<String>,
    #[serde(rename = "type")]
    pub card_type: Option<String>,
    pub brand: Option<String>,
    pub prepaid: Option<bool>,
    pub country: Option<Country>,
    pub bank: Option<Bank>,
}