pub struct MT210 {
pub field_20: GenericReferenceField,
pub field_21: GenericReferenceField,
pub field_30: GenericTextField,
pub field_32b: GenericCurrencyAmountField,
pub field_25: Option<GenericTextField>,
pub field_50a: Option<Field50>,
pub field_52a: Option<GenericBicField>,
pub field_56a: Option<GenericBicField>,
}
Expand description
§MT210: Notice to Receive
This message is used by a financial institution to notify another financial institution of an impending debit to the sender’s account held with the receiver, or to request the receiver to provide funds to cover the debit. This message serves as advance notice of funds requirements and facilitates liquidity management between institutions.
§Key Features
- Liquidity management: Advance notice of funding requirements
- Correspondent banking: Notice of impending debits to nostro accounts
- Cash management: Coordination of funds availability
- Settlement preparation: Pre-funding for settlement obligations
§Business Rules
- Rule C1: Message may include up to 10 notice sequences (if repeated)
- Rule C2: Either Field 50a or Field 52a must be present, not both
- Rule C3: Currency must be consistent in all 32B fields
- Commodity restriction: XAU, XAG, XPD, XPT must not be used
§Structure
Simple flat structure with conditional fields based on ordering party type.
Fields§
§field_20: GenericReferenceField
§field_21: GenericReferenceField
§field_30: GenericTextField
§field_32b: GenericCurrencyAmountField
§field_25: Option<GenericTextField>
§field_50a: Option<Field50>
§field_52a: Option<GenericBicField>
§field_56a: Option<GenericBicField>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MT210
impl<'de> Deserialize<'de> for MT210
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 SwiftMessageBody for MT210
impl SwiftMessageBody for MT210
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
Source§fn sample_minimal() -> Self
fn sample_minimal() -> Self
Generate a minimal sample (only mandatory fields)
Source§fn sample_full() -> Self
fn sample_full() -> Self
Generate a full sample (all fields populated)
Source§fn sample_with_config(config: &MessageConfig) -> Self
fn sample_with_config(config: &MessageConfig) -> Self
Generate a sample with configuration
impl StructuralPartialEq for MT210
Auto Trait Implementations§
impl Freeze for MT210
impl RefUnwindSafe for MT210
impl Send for MT210
impl Sync for MT210
impl Unpin for MT210
impl UnwindSafe for MT210
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