#[non_exhaustive]pub enum BankTransactionCode {
Iso {
domain: String,
family: String,
sub_family: String,
},
Swift(String),
Bai(String),
National {
code: String,
country: CountryCode,
},
Other {
code: String,
issuer: Option<String>,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Iso
ISO 20022 Bank Transaction Code.
Fields
Swift(String)
SWIFT transaction code.
Bai(String)
BAI2 transaction code.
National
National transaction code, e.g. German GVC.
Other
Unspecified transaction codes, possibly with an issuer information.
Trait Implementations§
Source§impl Clone for BankTransactionCode
impl Clone for BankTransactionCode
Source§fn clone(&self) -> BankTransactionCode
fn clone(&self) -> BankTransactionCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BankTransactionCode
impl Debug for BankTransactionCode
Source§impl<'de> Deserialize<'de> for BankTransactionCode
impl<'de> Deserialize<'de> for BankTransactionCode
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BankTransactionCode
impl PartialEq for BankTransactionCode
Source§fn eq(&self, other: &BankTransactionCode) -> bool
fn eq(&self, other: &BankTransactionCode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BankTransactionCode
impl Serialize for BankTransactionCode
impl Eq for BankTransactionCode
impl StructuralPartialEq for BankTransactionCode
Auto Trait Implementations§
impl Freeze for BankTransactionCode
impl RefUnwindSafe for BankTransactionCode
impl Send for BankTransactionCode
impl Sync for BankTransactionCode
impl Unpin for BankTransactionCode
impl UnsafeUnpin for BankTransactionCode
impl UnwindSafe for BankTransactionCode
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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