pub struct SettlementInstructions(/* private fields */);Expand description
The SettlementInstructions (35=T) message.
Implementations§
Source§impl SettlementInstructions
impl SettlementInstructions
pub const MSG_TYPE: &[u8] = b"T"
pub fn from_raw(raw: RawMessage) -> Self
pub fn raw(&self) -> &RawMessage
pub fn header(&self) -> Header<'_>
pub fn trailer(&self) -> Trailer<'_>
Sourcepub fn settl_inst_msg_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn settl_inst_msg_id(&self) -> Result<Option<&str>, InvalidValue>
The SettlInstMsgID (777) field.
Sourcepub fn settl_inst_req_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn settl_inst_req_id(&self) -> Result<Option<&str>, InvalidValue>
The SettlInstReqID (791) field.
Sourcepub fn settl_inst_mode(&self) -> Result<Option<SettlInstMode<'_>>, InvalidValue>
pub fn settl_inst_mode(&self) -> Result<Option<SettlInstMode<'_>>, InvalidValue>
The SettlInstMode (160) field.
Sourcepub fn settl_inst_req_rej_code(
&self,
) -> Result<Option<SettlInstReqRejCode>, InvalidValue>
pub fn settl_inst_req_rej_code( &self, ) -> Result<Option<SettlInstReqRejCode>, InvalidValue>
The SettlInstReqRejCode (792) field.
Sourcepub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>
pub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>
The EncodedTextLen (354) field.
Sourcepub fn encoded_text(&self) -> Option<&[u8]>
pub fn encoded_text(&self) -> Option<&[u8]>
The EncodedText (355) field.
Sourcepub fn transact_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
pub fn transact_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
The TransactTime (60) field.
Sourcepub fn settl_inst(
&self,
) -> Result<Instances<'_, SettlInstGrp<'_>>, InvalidValue>
pub fn settl_inst( &self, ) -> Result<Instances<'_, SettlInstGrp<'_>>, InvalidValue>
The instances of the NoSettlInst (778) group.
Trait Implementations§
Source§impl Debug for SettlementInstructions
impl Debug for SettlementInstructions
Auto Trait Implementations§
impl !Freeze for SettlementInstructions
impl Forget for SettlementInstructions
impl Move for SettlementInstructions
impl RefUnwindSafe for SettlementInstructions
impl Send for SettlementInstructions
impl Sync for SettlementInstructions
impl Unpin for SettlementInstructions
impl UnsafeUnpin for SettlementInstructions
impl UnwindSafe for SettlementInstructions
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