pub struct MT935RateChange {
pub field_23: Option<Field23>,
pub field_25: Option<GenericTextField>,
pub field_30: GenericTextField,
pub field_37h: Field37H,
}
Expand description
§MT935 Rate Change Sequence
Represents a single rate change within an MT935 message. Each sequence must have either Field 23 (rate type) OR Field 25 (account), but not both. Enhanced with SwiftMessage derive for automatic parsing and validation as a sub-message structure.
Fields§
§field_23: Option<Field23>
Further Identification - Field 23 (Conditional C2)
Identifies the type of rate being changed (BASE, CALL, COMMERCIAL, etc.) Function codes: BASE, CALL, COMMERCIAL, CURRENT, DEPOSIT, NOTICE, PRIME
field_25: Option<GenericTextField>
Account Identification - Field 25 (Conditional C2)
Identifies specific account for account-specific rate changes. Alternative to Field 23 when rate applies to individual account.
field_30: GenericTextField
Effective Date of New Rate - Field 30 (Mandatory)
When the new rate becomes effective (YYMMDD format). Must be a valid calendar date.
field_37h: Field37H
New Interest Rate - Field 37H (Mandatory)
The new interest rate value with C/D indicator. Indicator: ‘C’ for credit rate, ‘D’ for debit rate.
Implementations§
Source§impl MT935RateChange
impl MT935RateChange
Sourcepub fn validation_rules() -> &'static str
pub fn validation_rules() -> &'static str
Get the validation rules for this message type
Trait Implementations§
Source§impl Clone for MT935RateChange
impl Clone for MT935RateChange
Source§fn clone(&self) -> MT935RateChange
fn clone(&self) -> MT935RateChange
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more