pub struct MT195 { /* private fields */ }
Expand description
MT195: Queries
Implementations§
Source§impl MT195
impl MT195
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 being queried
Sourcepub fn query_type(&self) -> Option<String>
pub fn query_type(&self) -> Option<String>
Get query type (Field 75) - Type of query being made
Sourcepub fn queried_message_type(&self) -> Option<String>
pub fn queried_message_type(&self) -> Option<String>
Get queried message type (Field 11S) - optional
Sourcepub fn query_details(&self) -> Option<String>
pub fn query_details(&self) -> Option<String>
Get query details (Field 79) - Details of the query
Sourcepub fn querying_institution(&self) -> Option<String>
pub fn querying_institution(&self) -> Option<String>
Get querying institution (Field 52A) - optional
Sourcepub fn queried_institution(&self) -> Option<String>
pub fn queried_institution(&self) -> Option<String>
Get queried 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
Sourcepub fn enquiry_details(&self) -> Option<String>
pub fn enquiry_details(&self) -> Option<String>
Get enquiry details (Field 77A) - optional
Sourcepub fn copy_of_queried_message(&self) -> Option<String>
pub fn copy_of_queried_message(&self) -> Option<String>
Get copy of queried message (Field 79) - optional
Sourcepub fn all_enquiry_details(&self) -> Vec<String>
pub fn all_enquiry_details(&self) -> Vec<String>
Get all enquiry details (Field 77A) - can have multiple
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MT195
impl<'de> Deserialize<'de> for MT195
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 MT195
impl MTMessageType for MT195
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 MT195
impl RefUnwindSafe for MT195
impl Send for MT195
impl Sync for MT195
impl Unpin for MT195
impl UnwindSafe for MT195
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