Struct Field11S
Source pub struct Field11S {
pub message_type: String,
pub date: NaiveDate,
pub session_number: Option<String>,
pub input_sequence_number: Option<String>,
}
Expand description
Field 11S: MT Reference (Option S)
Status/Cancellation context variant of Field 11 module. Used in cancellation
requests and status inquiry messages for transaction control.
Components:
- Message type (3!n)
- Date (6!n, YYMMDD format)
- Session number (optional, [4!n])
- Input sequence number (optional, [6!n])
For complete documentation, see the Field 11 module.
Message type of the original message being referenced
Format: 3!n - Must be valid SWIFT message type
For MT292: Valid types include 200, 202, 205, 210, 256, 299
Date of the original message
Format: 6!n (YYMMDD) - Must match original message date exactly
Used for precise message identification in cancellation requests
Session number of the original message
Format: [4!n] - Optional but recommended for accurate targeting
Essential in high-volume processing environments
Input Sequence Number of the original message
Format: [6!n] - Provides highest precision for message identification
Critical for avoiding cancellation of wrong messages
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Deserialize this value from the given Serde deserializer.
Read more
Tests for self
and other
values to be equal, and is used by ==
.
Tests for !=
. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Serialize this value into the given Serde serializer.
Read more
Parse field value from string representation
Convert field back to SWIFT string format
Get field format specification
Parse field value with variant hint for enum fields
Default implementation falls back to regular parse
Get valid variant letters for enum fields
Returns None for non-enum fields, Some(vec) for enum fields
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
🔬This is a nightly-only experimental API. (clone_to_uninit
)
Performs copy-assignment from
self
to
dest
.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.