Struct government_id::bic::BankIdentificationCode [] [src]

pub struct BankIdentificationCode { /* fields omitted */ }

This structure describes a Bank identification code and enables you to return information about its properties. To check whether it is correct.

Examples

use government_id::*;
let bic: BankIdentificationCode = "000000000".to_owned().into();
assert!(bic.is_valid().unwrap());

Methods

impl BankIdentificationCode
[src]

[src]

Creates a new BankIdentificationCode

Trait Implementations

impl Validate for BankIdentificationCode
[src]

impl From<String> for BankIdentificationCode
[src]

[src]

Performs the conversion.