pub struct MT940StatementLine {
pub field_61: Field61,
pub field_86: Option<GenericMultiLineTextField<6, 65>>,
}
Expand description
§MT940 Statement Line
Represents a single transaction line (Field 61) with optional accompanying information (Field 86). Enhanced with SwiftMessage derive for automatic parsing and validation.
Fields§
§field_61: Field61
Statement Line - Field 61
Transaction details including value date, amount, and transaction type. Contains the core transaction information.
field_86: Option<GenericMultiLineTextField<6, 65>>
Info to Account Owner - Field 86 (Optional)
Narrative details for the transaction. Provides additional context and description for the transaction.
Implementations§
Source§impl MT940StatementLine
impl MT940StatementLine
Sourcepub fn validation_rules() -> &'static str
pub fn validation_rules() -> &'static str
Get the validation rules for this message type
Trait Implementations§
Source§impl Clone for MT940StatementLine
impl Clone for MT940StatementLine
Source§fn clone(&self) -> MT940StatementLine
fn clone(&self) -> MT940StatementLine
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MT940StatementLine
impl Debug for MT940StatementLine
Source§impl<'de> Deserialize<'de> for MT940StatementLine
impl<'de> Deserialize<'de> for MT940StatementLine
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 PartialEq for MT940StatementLine
impl PartialEq for MT940StatementLine
Source§impl Serialize for MT940StatementLine
impl Serialize for MT940StatementLine
Source§impl SwiftMessageBody for MT940StatementLine
impl SwiftMessageBody for MT940StatementLine
Source§fn message_type() -> &'static str
fn message_type() -> &'static str
Get the message type identifier (e.g., “103”, “202”)
Source§fn from_fields(fields: HashMap<String, Vec<String>>) -> SwiftResult<Self>
fn from_fields(fields: HashMap<String, Vec<String>>) -> SwiftResult<Self>
Create from field map
Source§fn required_fields() -> Vec<&'static str>
fn required_fields() -> Vec<&'static str>
Get required field tags for this message type
Source§fn optional_fields() -> Vec<&'static str>
fn optional_fields() -> Vec<&'static str>
Get optional field tags for this message type
impl StructuralPartialEq for MT940StatementLine
Auto Trait Implementations§
impl Freeze for MT940StatementLine
impl RefUnwindSafe for MT940StatementLine
impl Send for MT940StatementLine
impl Sync for MT940StatementLine
impl Unpin for MT940StatementLine
impl UnwindSafe for MT940StatementLine
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