pub fn read_message_hash(&self) -> Result<UInt256> {
        Ok(
            match self {
                OutMsg::External(ref x) => x.message_cell().repr_hash(),
                OutMsg::Immediately(ref x) => x.read_out_message()?.message_cell().repr_hash(),
                OutMsg::New(ref x) => x.read_out_message()?.message_cell().repr_hash(),
                OutMsg::Transit(ref x) => x.read_out_message()?.message_cell().repr_hash(),
                OutMsg::Dequeue(ref x) => x.read_out_message()?.message_cell().repr_hash(),
                OutMsg::DequeueShort(_) => fail!("dequeue short out msg doesn't have message hash"),
                OutMsg::DequeueImmediately(ref x) => x.read_out_message()?.message_cell().repr_hash(),
                OutMsg::TransitRequeued(ref x) => x.read_out_message()?.message_cell().repr_hash(),
                OutMsg::None => fail!("wrong message type")
            }
        )
    }
///
/// the function returns the messages hash
///
the function returns the messages hash
the function returns the messages hash
pub fn read_message_hash(&self) -> Result<UInt256> {
        Ok(
            match self {
                OutMsg::External(ref x) => x.message_cell().repr_hash(),
                OutMsg::Immediately(ref x) => x.read_out_message()?.message_cell().repr_hash(),
                OutMsg::New(ref x) => x.read_out_message()?.message_cell().repr_hash(),
                OutMsg::Transit(ref x) => x.read_out_message()?.message_cell().repr_hash(),
                OutMsg::Dequeue(ref x) => x.read_out_message()?.message_cell().repr_hash(),
                OutMsg::DequeueShort(_) => fail!("dequeue short out msg doesn't have message hash"),
                OutMsg::DequeueImmediately(ref x) => x.read_out_message()?.message_cell().repr_hash(),
                OutMsg::TransitRequeued(ref x) => x.read_out_message()?.message_cell().repr_hash(),
                OutMsg::None => fail!("wrong message type")
            }
        )
    }
pub fn read_message_hash ( & self ) -> Result < UInt256 > { Ok ( match self { OutMsg :: External ( ref x ) => x . message_cell ( ) . repr_hash ( ) , OutMsg :: Immediately ( ref x ) => x . read_out_message ( ) ? . message_cell ( ) . repr_hash ( ) , OutMsg :: New ( ref x ) => x . read_out_message ( ) ? . message_cell ( ) . repr_hash ( ) , OutMsg :: Transit ( ref x ) => x . read_out_message ( ) ? . message_cell ( ) . repr_hash ( ) , OutMsg :: Dequeue ( ref x ) => x . read_out_message ( ) ? . message_cell ( ) . repr_hash ( ) , OutMsg :: DequeueShort ( _ ) => fail ! ( " " ) , OutMsg :: DequeueImmediately ( ref x ) => x . read_out_message ( ) ? . message_cell ( ) . repr_hash ( ) , OutMsg :: TransitRequeued ( ref x ) => x . read_out_message ( ) ? . message_cell ( ) . repr_hash ( ) , OutMsg :: None => fail ! ( " " ) } ) }
the function returns the messages hash
the function returns the messages hash
&self
&self