pub struct InputApplicationHeader {
pub message_type: String,
pub destination_address: String,
pub receiver_bic: String,
pub priority: String,
pub delivery_monitoring: Option<String>,
pub obsolescence_period: Option<String>,
}
Expand description
Input Application Header: Message Sent to SWIFT Network
§Purpose
Represents messages being sent to the SWIFT network for processing and delivery. Contains routing information, priority settings, and delivery monitoring options.
§Format Specification
- Format:
{2:I103DDDDDDDDDDDDP[M][OOO]}
- Length: 17-21 characters
- Components: Direction (I) + Type + Destination + Priority + Optional monitoring/obsolescence
Fields§
§message_type: String
Message type
Format: 3!n - Three numeric digits Examples: 103 (Customer Transfer), 202 (Bank Transfer), 940 (Statement)
destination_address: String
Destination address
Format: 12!c - 12 alphanumeric characters Structure: 8-char BIC + 1-char terminal + 3-char branch
receiver_bic: String
Receiver BIC extracted from destination address
Format: 8!c - First 8 characters of destination
priority: String
Message priority
Format: 1!a - Single alphabetic character Values: U (Urgent), N (Normal), S (System)
delivery_monitoring: Option<String>
Delivery monitoring option
Format: 1!n - Single numeric digit Values: 1 (Non-delivery warning), 2 (Delivery notification), 3 (Both)
obsolescence_period: Option<String>
Obsolescence period
Format: 3!n - Three numeric digits Range: 003-999 (units of 5 minutes)
Trait Implementations§
Source§impl Clone for InputApplicationHeader
impl Clone for InputApplicationHeader
Source§fn clone(&self) -> InputApplicationHeader
fn clone(&self) -> InputApplicationHeader
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for InputApplicationHeader
impl Debug for InputApplicationHeader
Source§impl<'de> Deserialize<'de> for InputApplicationHeader
impl<'de> Deserialize<'de> for InputApplicationHeader
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for InputApplicationHeader
impl Display for InputApplicationHeader
Source§impl PartialEq for InputApplicationHeader
impl PartialEq for InputApplicationHeader
Source§impl Serialize for InputApplicationHeader
impl Serialize for InputApplicationHeader
impl StructuralPartialEq for InputApplicationHeader
Auto Trait Implementations§
impl Freeze for InputApplicationHeader
impl RefUnwindSafe for InputApplicationHeader
impl Send for InputApplicationHeader
impl Sync for InputApplicationHeader
impl Unpin for InputApplicationHeader
impl UnwindSafe for InputApplicationHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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