pub enum TransactionChannel {
Show 14 variants
CardPresent,
CardNotPresent,
Atm,
Ach,
Wire,
InternalTransfer,
Mobile,
Online,
Branch,
Cash,
Check,
RealTimePayment,
Swift,
PeerToPeer,
}Expand description
Transaction channel (how the transaction was initiated).
Variants§
CardPresent
Point of sale / card present
CardNotPresent
Card not present (online, phone)
Atm
ATM transaction
Ach
ACH/direct debit
Wire
Wire transfer
InternalTransfer
Internal transfer (same bank)
Mobile
Mobile banking
Online
Online banking
Branch
Branch (in-person)
Cash
Cash (deposit or withdrawal)
Check
Check
RealTimePayment
Real-time payment (RTP, FedNow)
Swift
SWIFT international transfer
PeerToPeer
Peer-to-peer (Zelle, Venmo, etc.)
Implementations§
Source§impl TransactionChannel
impl TransactionChannel
Sourcepub fn risk_weight(&self) -> f64
pub fn risk_weight(&self) -> f64
Risk weight for AML scoring.
Sourcepub fn supports_cross_border(&self) -> bool
pub fn supports_cross_border(&self) -> bool
Whether this channel supports cross-border transactions.
Sourcepub fn typical_processing_hours(&self) -> u32
pub fn typical_processing_hours(&self) -> u32
Typical processing time in hours.
Trait Implementations§
Source§impl Clone for TransactionChannel
impl Clone for TransactionChannel
Source§fn clone(&self) -> TransactionChannel
fn clone(&self) -> TransactionChannel
Returns a duplicate of the value. Read more
1.0.0 · 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 TransactionChannel
impl Debug for TransactionChannel
Source§impl Default for TransactionChannel
impl Default for TransactionChannel
Source§fn default() -> TransactionChannel
fn default() -> TransactionChannel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransactionChannel
impl<'de> Deserialize<'de> for TransactionChannel
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransactionChannel, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransactionChannel, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for TransactionChannel
impl Hash for TransactionChannel
Source§impl PartialEq for TransactionChannel
impl PartialEq for TransactionChannel
Source§impl Serialize for TransactionChannel
impl Serialize for TransactionChannel
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for TransactionChannel
impl Eq for TransactionChannel
impl StructuralPartialEq for TransactionChannel
Auto Trait Implementations§
impl Freeze for TransactionChannel
impl RefUnwindSafe for TransactionChannel
impl Send for TransactionChannel
impl Sync for TransactionChannel
impl Unpin for TransactionChannel
impl UnwindSafe for TransactionChannel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.