pub struct InMsgFinal {
pub in_msg_envelope: Lazy<MsgEnvelope>,
pub transaction: Lazy<Transaction>,
pub fwd_fee: Tokens,
}Expand description
Executed inbound internal message.
Fields§
§in_msg_envelope: Lazy<MsgEnvelope>Old envelope.
transaction: Lazy<Transaction>Transaction
fwd_fee: TokensForward fee.
Implementations§
Source§impl InMsgFinal
impl InMsgFinal
Sourcepub fn load_in_msg_envelope(&self) -> Result<MsgEnvelope, Error>
pub fn load_in_msg_envelope(&self) -> Result<MsgEnvelope, Error>
Load an inbound message envelope.
Sourcepub fn load_in_msg(&self) -> Result<Message<'_>, Error>
pub fn load_in_msg(&self) -> Result<Message<'_>, Error>
Load a non-owned inbound message.
Sourcepub fn load_in_msg_info(&self) -> Result<IntMsgInfo, Error>
pub fn load_in_msg_info(&self) -> Result<IntMsgInfo, Error>
Load an inbound message envelope.
Sourcepub fn load_in_msg_owned(&self) -> Result<OwnedMessage, Error>
pub fn load_in_msg_owned(&self) -> Result<OwnedMessage, Error>
Load an owned inbound message.
Sourcepub fn load_in_msg_cell(&self) -> Result<Cell, Error>
pub fn load_in_msg_cell(&self) -> Result<Cell, Error>
Loads an inbound message cell.
Sourcepub fn in_msg_envelope_hash(&self) -> &HashBytes
pub fn in_msg_envelope_hash(&self) -> &HashBytes
Returns a hash of the envelope with the inbound message.
Sourcepub fn load_transaction(&self) -> Result<Transaction, Error>
pub fn load_transaction(&self) -> Result<Transaction, Error>
Loads transaction.
Trait Implementations§
Source§impl Clone for InMsgFinal
impl Clone for InMsgFinal
Source§fn clone(&self) -> InMsgFinal
fn clone(&self) -> InMsgFinal
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InMsgFinal
impl Debug for InMsgFinal
Source§impl<'tlb> Load<'tlb> for InMsgFinal
impl<'tlb> Load<'tlb> for InMsgFinal
Source§impl PartialEq for InMsgFinal
impl PartialEq for InMsgFinal
Source§impl Serialize for InMsgFinal
impl Serialize for InMsgFinal
Source§impl Store for InMsgFinal
impl Store for InMsgFinal
Source§fn store_into(
&self,
__builder: &mut CellBuilder,
__context: &dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, __builder: &mut CellBuilder, __context: &dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Eq for InMsgFinal
impl StructuralPartialEq for InMsgFinal
Auto Trait Implementations§
impl Freeze for InMsgFinal
impl !RefUnwindSafe for InMsgFinal
impl Send for InMsgFinal
impl Sync for InMsgFinal
impl Unpin for InMsgFinal
impl !UnwindSafe for InMsgFinal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.