pub fn src_ref(&self) -> Option<&MsgAddressInt> {
        let addr1 = match self.header() {
            CommonMsgInfo::IntMsgInfo(ref imi)      => &imi.src,
            CommonMsgInfo::ExtOutMsgInfo(ref eimi)  => &eimi.src,
            CommonMsgInfo::ExtInMsgInfo(_)          => &MsgAddressIntOrNone::None
        };
        match addr1 {
            MsgAddressIntOrNone::None => None,
            MsgAddressIntOrNone::Some(ref addr) => Some(addr)
        }
    }
///
/// Get reference to source internal address.
///
Get reference to source internal address.
Get reference to source internal address .
pub fn src_ref(&self) -> Option<&MsgAddressInt> {
        let addr1 = match self.header() {
            CommonMsgInfo::IntMsgInfo(ref imi)      => &imi.src,
            CommonMsgInfo::ExtOutMsgInfo(ref eimi)  => &eimi.src,
            CommonMsgInfo::ExtInMsgInfo(_)          => &MsgAddressIntOrNone::None
        };
        match addr1 {
            MsgAddressIntOrNone::None => None,
            MsgAddressIntOrNone::Some(ref addr) => Some(addr)
        }
    }
pub fn src_ref ( & self ) -> Option < & MsgAddressInt > { let addr1 = match self . header ( ) { CommonMsgInfo :: IntMsgInfo ( ref imi ) => & imi . src , CommonMsgInfo :: ExtOutMsgInfo ( ref eimi ) => & eimi . src , CommonMsgInfo :: ExtInMsgInfo ( _ ) => & MsgAddressIntOrNone :: None } ; match addr1 { MsgAddressIntOrNone :: None => None , MsgAddressIntOrNone :: Some ( ref addr ) => Some ( addr ) } }
Get reference to source internal address.
Get reference to source internal address .
&self
&self