pub struct Field20 {
pub transaction_reference: String,
}
Expand description
Field 20: Transaction Reference Number
Fields§
§transaction_reference: String
Transaction reference (up to 16 characters)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Field20
impl<'de> Deserialize<'de> for Field20
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 SwiftField for Field20
impl SwiftField for Field20
Source§fn to_swift_string(&self) -> String
fn to_swift_string(&self) -> String
Serialize field back to SWIFT format
Source§fn validate(&self, rules: &FormatRules) -> Result<(), ValidationError>
fn validate(&self, rules: &FormatRules) -> Result<(), ValidationError>
Validate field content according to SWIFT rules
Source§fn description() -> &'static str
fn description() -> &'static str
Get field description for documentation/debugging
Source§fn is_mandatory_for_message_type(message_type: &str) -> bool
fn is_mandatory_for_message_type(message_type: &str) -> bool
Check if field is mandatory for a specific message type
impl Eq for Field20
impl StructuralPartialEq for Field20
Auto Trait Implementations§
impl Freeze for Field20
impl RefUnwindSafe for Field20
impl Send for Field20
impl Sync for Field20
impl Unpin for Field20
impl UnwindSafe for Field20
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