pub struct BasicHeader {
pub application_id: String,
pub service_id: String,
pub logical_terminal: String,
pub sender_bic: String,
pub session_number: String,
pub sequence_number: String,
}Expand description
Block 1: Basic Header
Sender identification and message routing information.
Format: F01SSSSSSSSSCCC0000NNNNNN (25 chars)
- App ID (1): F=FIN, A=GPA
- Service (2): 01=FIN, 03=FIN Copy
- LT Address (12): BIC + terminal + branch
- Session (4): 0000-9999
- Sequence (6): 000000-999999
Example: F01DEUTDEFFAXXX0000123456
Fields§
§application_id: StringApplication ID (F, A, L)
service_id: StringService ID (01, 03, 05, 21)
logical_terminal: StringLogical terminal address (12 chars)
sender_bic: StringSender BIC (8 chars)
session_number: StringSession number (4 digits)
sequence_number: StringSequence number (6 digits)
Implementations§
Trait Implementations§
Source§impl Clone for BasicHeader
impl Clone for BasicHeader
Source§fn clone(&self) -> BasicHeader
fn clone(&self) -> BasicHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BasicHeader
impl Debug for BasicHeader
Source§impl<'de> Deserialize<'de> for BasicHeader
impl<'de> Deserialize<'de> for BasicHeader
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BasicHeader
impl Display for BasicHeader
Source§impl PartialEq for BasicHeader
impl PartialEq for BasicHeader
Source§impl Serialize for BasicHeader
impl Serialize for BasicHeader
impl StructuralPartialEq for BasicHeader
Auto Trait Implementations§
impl Freeze for BasicHeader
impl RefUnwindSafe for BasicHeader
impl Send for BasicHeader
impl Sync for BasicHeader
impl Unpin for BasicHeader
impl UnwindSafe for BasicHeader
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
Mutably borrows from an owned value. Read more
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>
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 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>
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