pub struct MT204Transaction {
pub field_20: Field20,
pub field_21: Option<Field21NoOption>,
pub field_32b: Field32B,
pub field_53: Field53SenderCorrespondent,
pub field_72: Option<Field72>,
}
Expand description
Individual transaction details for MT204 Sequence B
Fields§
§field_20: Field20
§field_21: Option<Field21NoOption>
§field_32b: Field32B
§field_53: Field53SenderCorrespondent
§field_72: Option<Field72>
Implementations§
Trait Implementations§
Source§impl Clone for MT204Transaction
impl Clone for MT204Transaction
Source§fn clone(&self) -> MT204Transaction
fn clone(&self) -> MT204Transaction
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 MT204Transaction
impl Debug for MT204Transaction
Source§impl<'de> Deserialize<'de> for MT204Transaction
impl<'de> Deserialize<'de> for MT204Transaction
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 MT204Transaction
impl PartialEq for MT204Transaction
Source§impl Serialize for MT204Transaction
impl Serialize for MT204Transaction
Source§impl SwiftField for MT204Transaction
impl SwiftField for MT204Transaction
Source§fn to_swift_string(&self) -> String
fn to_swift_string(&self) -> String
Convert field back to SWIFT string format
Source§fn format_spec() -> &'static str
fn format_spec() -> &'static str
Get field format specification
Source§impl SwiftMessageBody for MT204Transaction
impl SwiftMessageBody for MT204Transaction
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, usize)>>,
) -> SwiftResult<Self>
fn from_fields( fields: HashMap<String, Vec<(String, usize)>>, ) -> SwiftResult<Self>
Create from field map with sequential consumption tracking
Source§fn from_fields_with_config(
fields: HashMap<String, Vec<(String, usize)>>,
config: &ParserConfig,
) -> Result<ParseResult<Self>, ParseError>
fn from_fields_with_config( fields: HashMap<String, Vec<(String, usize)>>, config: &ParserConfig, ) -> Result<ParseResult<Self>, ParseError>
Create from field map with configuration for error collection
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 MT204Transaction
Auto Trait Implementations§
impl Freeze for MT204Transaction
impl RefUnwindSafe for MT204Transaction
impl Send for MT204Transaction
impl Sync for MT204Transaction
impl Unpin for MT204Transaction
impl UnwindSafe for MT204Transaction
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> 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