pub struct UserHeader {Show 13 fields
pub service_identifier: Option<String>,
pub banking_priority: Option<String>,
pub message_user_reference: Option<String>,
pub validation_flag: Option<String>,
pub balance_checkpoint: Option<BalanceCheckpoint>,
pub message_input_reference: Option<MessageInputReference>,
pub related_reference: Option<String>,
pub service_type_identifier: Option<String>,
pub unique_end_to_end_reference: Option<String>,
pub addressee_information: Option<String>,
pub payment_release_information: Option<PaymentReleaseInfo>,
pub sanctions_screening_info: Option<SanctionsScreeningInfo>,
pub payment_controls_info: Option<PaymentControlsInfo>,
}
Expand description
Block 3: User Header
Optional service tags and controls for SWIFT messages.
Format: {3:{tag:value}{tag:value}...}
Common Tags:
- 121: UETR (UUID format) - Mandatory for SWIFT gpi
- 119: Validation flag (STP, REMIT, COV, RFDD)
- 103: Service identifier
- 108: Message user reference
- 433/434: Sanctions screening and payment controls
Fields§
§service_identifier: Option<String>
Tag 103 - Service Identifier (3!a) - Mandatory for FINcopy Service
banking_priority: Option<String>
Tag 113 - Banking Priority (4!x) - Optional
message_user_reference: Option<String>
Tag 108 - Message User Reference (16!x) - Optional
validation_flag: Option<String>
Tag 119 - Validation Flag (8c) - Optional (STP, REMIT, RFDD, COV)
balance_checkpoint: Option<BalanceCheckpoint>
Tag 423 - Balance checkpoint date and time (YYMMDDHHMMSS[ss]) - Optional (MIRS only)
message_input_reference: Option<MessageInputReference>
Tag 106 - Message Input Reference MIR (28c) - Optional (MIRS only)
Tag 424 - Related reference (16x) - Optional (MIRS only)
service_type_identifier: Option<String>
Tag 111 - Service type identifier (3!n) - Optional
unique_end_to_end_reference: Option<String>
Tag 121 - Unique end-to-end transaction reference (UUID format) - Mandatory for GPI
addressee_information: Option<String>
Tag 115 - Addressee Information (32x) - Optional (FINCopy only)
payment_release_information: Option<PaymentReleaseInfo>
Tag 165 - Payment release information receiver (3!c/34x) - Optional (FINInform only)
sanctions_screening_info: Option<SanctionsScreeningInfo>
Tag 433 - Sanctions screening information (3!a/[20x]) - Optional
payment_controls_info: Option<PaymentControlsInfo>
Tag 434 - Payment controls information (3!a/[20x]) - Optional
Implementations§
Trait Implementations§
Source§impl Clone for UserHeader
impl Clone for UserHeader
Source§fn clone(&self) -> UserHeader
fn clone(&self) -> UserHeader
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for UserHeader
impl Debug for UserHeader
Source§impl Default for UserHeader
impl Default for UserHeader
Source§fn default() -> UserHeader
fn default() -> UserHeader
Source§impl<'de> Deserialize<'de> for UserHeader
impl<'de> Deserialize<'de> for UserHeader
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 UserHeader
impl Display for UserHeader
Source§impl PartialEq for UserHeader
impl PartialEq for UserHeader
Source§impl Serialize for UserHeader
impl Serialize for UserHeader
impl StructuralPartialEq for UserHeader
Auto Trait Implementations§
impl Freeze for UserHeader
impl RefUnwindSafe for UserHeader
impl Send for UserHeader
impl Sync for UserHeader
impl Unpin for UserHeader
impl UnwindSafe for UserHeader
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> 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> 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