Field30

Struct Field30 

Source
pub struct Field30 {
    pub execution_date: NaiveDate,
}
Expand description

Field 30: Date Specifications

§Purpose

Specifies various types of dates critical to financial transaction processing, including execution dates, value dates, settlement dates, and other time-sensitive information. This field family provides precise temporal specifications required for proper transaction timing, settlement coordination, and regulatory compliance.

§Format

  • Swift Format: 6!n (Basic), 8!n (Extended variants)
  • Description: Date in YYMMDD or YYYYMMDD format
  • Date Validation: Must represent valid calendar dates
  • Business Date: Must align with business day conventions

§Presence

  • Status: Conditional/Mandatory depending on message type and business requirements
  • Swift Error Codes: T40 (invalid date), T50 (format violation)
  • Usage Context: Transaction timing and settlement coordination

§Usage Rules

  • Valid Dates: Must represent actual calendar dates
  • Business Logic: Must comply with business day and settlement conventions
  • Time Zones: Interpreted in appropriate business time zone context
  • Forward Dating: Future dates must be within reasonable business limits

§Network Validation Rules

  • Date Format: Must follow exact YYMMDD or YYYYMMDD format
  • Calendar Validation: Must be valid calendar date
  • Business Rules: Must comply with market-specific business day rules
  • Range Validation: Must be within acceptable date ranges for business context

§Date Types and Applications

§Execution Date (Basic Field 30)

  • Format: 6!n (YYMMDD)
  • Purpose: Date when transaction should be executed
  • Usage: Customer payment instructions, trade settlements
  • Business Context: Determines when payment processing begins

§Value Date Applications

  • Settlement: Date funds become available
  • Interest: Date for interest calculations
  • Trade: Date for trade settlement
  • Currency Exchange: Date for FX rate application

§Premium Payment Date (Field 30V)

  • Format: 8!n (YYYYMMDD)
  • Purpose: Date premium is paid for option contracts
  • Usage: FX options, derivative contracts
  • Business Context: Critical for option contract timing

§Business Context

  • Payment Processing: Determines transaction execution timing
  • Settlement Coordination: Aligns settlement across counterparties
  • Interest Calculations: Provides basis for accrual calculations
  • Regulatory Compliance: Meets timing requirements for various regulations

§Examples

:30:250719      // July 19, 2025 (execution date)
:30V:20250719   // July 19, 2025 (premium payment date)
:30T:250720     // July 20, 2025 (trade date)
:30P:250721     // July 21, 2025 (processing date)

§Date Calculation Logic

  • Business Days: Excludes weekends and holidays
  • Settlement Cycles: Standard T+0, T+1, T+2, T+3 settlements
  • Cut-off Times: Coordination with daily processing cut-offs
  • Time Zones: Market-specific time zone considerations

§Regional Considerations

  • European Markets: TARGET2 business day calendar
  • US Markets: Federal Reserve business day calendar
  • Asian Markets: Local holiday and business day calendars
  • Cross-Border: Coordination across multiple market calendars

§Error Prevention

  • Date Validation: Verify date is valid calendar date
  • Business Day Check: Ensure date complies with business day conventions
  • Range Verification: Confirm date is within reasonable business range
  • Market Calendar: Check against relevant market holiday calendars
  • Field 32A: Value Date, Currency, Amount (settlement information)
  • Field 61: Statement Line (transaction dates)
  • Field 13C/13D: Time Indication (precise timing information)
  • Block Headers: Message timestamps

§Settlement Coordination

  • Same Day Settlement: T+0 processing requirements
  • Next Day Settlement: T+1 standard processing
  • Standard Settlement: T+2 typical market practice
  • Extended Settlement: T+3 or longer for specific instruments

§Processing Impact

  • Batch Processing: Date-based transaction grouping
  • Real-Time Processing: Immediate execution date processing
  • Schedule Processing: Future-dated transaction scheduling
  • Exception Handling: Holiday and weekend date adjustments

§Compliance Framework

  • Regulatory Timing: Meeting regulatory execution requirements
  • Market Rules: Compliance with market settlement rules
  • Audit Trail: Maintaining accurate date records
  • Documentation: Proper date documentation for compliance

§STP Compliance

  • Date Standardization: Consistent date format for automation
  • Validation Enhancement: Automated date validation and correction
  • Processing Rules: Date-based automated processing logic
  • Exception Management: Automated handling of date-related exceptions

§See Also

  • Swift FIN User Handbook: Date Field Specifications

  • Settlement Guidelines: Business Day Conventions

  • Market Calendars: Holiday and Business Day References

  • Processing Standards: Date-Based Transaction Handling

    Field 30: Execution Date

Basic execution date specification for transaction processing timing.

Fields§

§execution_date: NaiveDate

Execution date

Format: 6!n (YYMMDD) - Date when transaction should be executed Must be valid calendar date and comply with business day conventions

Trait Implementations§

Source§

impl Clone for Field30

Source§

fn clone(&self) -> Field30

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Field30

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Field30

Source§

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 Field30

Source§

fn eq(&self, other: &Field30) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for Field30

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl SwiftField for Field30

Source§

fn parse(value: &str) -> Result<Self>

Parse field value from string representation
Source§

fn to_swift_string(&self) -> String

Convert field back to SWIFT string format
Source§

fn format_spec() -> &'static str

Get field format specification
Source§

fn parse_with_variant( value: &str, _variant: Option<&str>, _field_tag: Option<&str>, ) -> Result<Self>
where Self: Sized,

Parse field value with variant hint for enum fields Default implementation falls back to regular parse
Source§

fn valid_variants() -> Option<Vec<&'static str>>

Get valid variant letters for enum fields Returns None for non-enum fields, Some(vec) for enum fields
Source§

impl StructuralPartialEq for Field30

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> Fake for T

Source§

fn fake<U>(&self) -> U
where Self: FakeBase<U>,

Source§

fn fake_with_rng<U, R>(&self, rng: &mut R) -> U
where R: Rng + ?Sized, Self: FakeBase<U>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,