pub struct MT110Cheque {
pub field_21: Field21NoOption,
pub field_30: Field30,
pub field_32: Field32,
pub field_50: Option<Field50OrderingCustomerAFK>,
pub field_52: Option<Field52DrawerBank>,
pub field_59: Field59,
}
Expand description
MT110 Cheque (Repetitive Sequence)
§Purpose
Represents individual cheque details within an MT110 advice message. Each occurrence provides complete information for one cheque being advised.
§Field Details
- 21: Cheque Reference (mandatory) - Unique reference for this cheque
- 32B: Currency/Amount - Cheque amount and currency
- 30: Date - Cheque date or value date
- 25: Account - Related account information
§Validation Notes
- Each cheque must have a unique reference (21)
- Amount (32B) must be positive for valid cheque advice
- Date information (30) required for proper clearing
Fields§
§field_21: Field21NoOption
§field_30: Field30
§field_32: Field32
§field_50: Option<Field50OrderingCustomerAFK>
§field_52: Option<Field52DrawerBank>
§field_59: Field59
Implementations§
Trait Implementations§
Source§impl Clone for MT110Cheque
impl Clone for MT110Cheque
Source§fn clone(&self) -> MT110Cheque
fn clone(&self) -> MT110Cheque
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 MT110Cheque
impl Debug for MT110Cheque
Source§impl<'de> Deserialize<'de> for MT110Cheque
impl<'de> Deserialize<'de> for MT110Cheque
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 MT110Cheque
impl PartialEq for MT110Cheque
Source§impl Serialize for MT110Cheque
impl Serialize for MT110Cheque
Source§impl SwiftField for MT110Cheque
impl SwiftField for MT110Cheque
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 MT110Cheque
impl SwiftMessageBody for MT110Cheque
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 MT110Cheque
Auto Trait Implementations§
impl Freeze for MT110Cheque
impl RefUnwindSafe for MT110Cheque
impl Send for MT110Cheque
impl Sync for MT110Cheque
impl Unpin for MT110Cheque
impl UnwindSafe for MT110Cheque
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