pub struct MT192 { /* private fields */ }
Expand description
MT192: Request for Cancellation
Implementations§
Source§impl MT192
impl MT192
Sourcepub fn transaction_reference(&self) -> Result<String>
pub fn transaction_reference(&self) -> Result<String>
Get transaction reference number (Field 20)
Get related reference (Field 21) - Reference of the message to be cancelled
Sourcepub fn reason_for_cancellation(&self) -> Option<String>
pub fn reason_for_cancellation(&self) -> Option<String>
Get reason for cancellation (Field 75) - optional
Sourcepub fn original_message_type(&self) -> Option<String>
pub fn original_message_type(&self) -> Option<String>
Get original message type (Field 11S) - optional
Sourcepub fn copy_of_original_message(&self) -> Option<String>
pub fn copy_of_original_message(&self) -> Option<String>
Get copy of original message (Field 79) - optional
Sourcepub fn requesting_institution(&self) -> Option<String>
pub fn requesting_institution(&self) -> Option<String>
Get requesting institution (Field 52A) - optional
Sourcepub fn receiving_institution(&self) -> Option<String>
pub fn receiving_institution(&self) -> Option<String>
Get receiving institution (Field 58A) - optional
Sourcepub fn narrative(&self) -> Option<String>
pub fn narrative(&self) -> Option<String>
Get narrative (Field 72) - optional additional information
Sourcepub fn narratives(&self) -> Vec<String>
pub fn narratives(&self) -> Vec<String>
Get all narrative fields (Field 72) - can have multiple
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MT192
impl<'de> Deserialize<'de> for MT192
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 MTMessageType for MT192
impl MTMessageType for MT192
Source§fn from_blocks(blocks: Vec<MessageBlock>) -> Result<Self>
fn from_blocks(blocks: Vec<MessageBlock>) -> Result<Self>
Create message from parsed blocks
Source§fn get_all_fields(&self) -> Vec<&Field>
fn get_all_fields(&self) -> Vec<&Field>
Get all fields
Source§fn text_fields(&self) -> &[Field]
fn text_fields(&self) -> &[Field]
Get the text block fields
Auto Trait Implementations§
impl Freeze for MT192
impl RefUnwindSafe for MT192
impl Send for MT192
impl Sync for MT192
impl Unpin for MT192
impl UnwindSafe for MT192
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