Struct Iban
pub struct Iban(/* private fields */);Expand description
A validated International Bank Account Number in compact uppercase form.
Implementations§
§impl Iban
impl Iban
pub fn format_grouped(&self) -> String
pub fn format_grouped(&self) -> String
Returns the IBAN grouped with spaces every four characters.
pub fn country_code(&self) -> &str
pub fn country_code(&self) -> &str
Returns the two-letter country code.
pub fn check_digits(&self) -> &str
pub fn check_digits(&self) -> &str
Returns the two numeric check digits.
Trait Implementations§
§impl Ord for Iban
impl Ord for Iban
§impl PartialOrd for Iban
impl PartialOrd for Iban
impl Eq for Iban
impl StructuralPartialEq for Iban
Auto Trait Implementations§
impl Freeze for Iban
impl RefUnwindSafe for Iban
impl Send for Iban
impl Sync for Iban
impl Unpin for Iban
impl UnsafeUnpin for Iban
impl UnwindSafe for Iban
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
Mutably borrows from an owned value. Read more