pub struct ProcessingConfig {
pub enabled_payment_types: Vec<PaymentType>,
pub min_amount: Option<f64>,
pub max_amount: Option<f64>,
pub fraud_check_enabled: bool,
pub velocity_limit: Option<f64>,
pub large_payment_threshold: Option<f64>,
pub process_outside_hours: bool,
pub batch_mode: bool,
pub business_hours_start: u8,
pub business_hours_end: u8,
pub timezone_offset_seconds: i64,
}Expand description
Payment processing configuration.
Fields§
§enabled_payment_types: Vec<PaymentType>Enabled payment types.
min_amount: Option<f64>Minimum payment amount.
max_amount: Option<f64>Maximum payment amount.
fraud_check_enabled: boolEnable fraud checks.
velocity_limit: Option<f64>Velocity limit (transactions per hour).
large_payment_threshold: Option<f64>Large payment threshold for manual review.
process_outside_hours: boolProcess outside business hours.
batch_mode: boolBatch mode (queue non-urgent payments).
business_hours_start: u8Business hours start (hour of day, 0-23).
business_hours_end: u8Business hours end (hour of day, 0-23).
timezone_offset_seconds: i64Timezone offset in seconds from UTC (e.g., -18000 for EST/UTC-5).
Trait Implementations§
Source§impl Clone for ProcessingConfig
impl Clone for ProcessingConfig
Source§fn clone(&self) -> ProcessingConfig
fn clone(&self) -> ProcessingConfig
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 ProcessingConfig
impl Debug for ProcessingConfig
Auto Trait Implementations§
impl Freeze for ProcessingConfig
impl RefUnwindSafe for ProcessingConfig
impl Send for ProcessingConfig
impl Sync for ProcessingConfig
impl Unpin for ProcessingConfig
impl UnwindSafe for ProcessingConfig
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.