pub struct InMsgTransit {
pub in_msg_envelope: Lazy<MsgEnvelope>,
pub out_msg_envelope: Lazy<MsgEnvelope>,
pub transit_fee: Tokens,
}Expand description
Internal message that was not processed in this block.
Fields§
§in_msg_envelope: Lazy<MsgEnvelope>Old envelope.
out_msg_envelope: Lazy<MsgEnvelope>New envelope.
transit_fee: TokensTransit fee.
Implementations§
Source§impl InMsgTransit
impl InMsgTransit
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_owned(&self) -> Result<OwnedMessage, Error>
pub fn load_in_msg_owned(&self) -> Result<OwnedMessage, Error>
Load an owned inbound message.
Sourcepub fn load_out_msg(&self) -> Result<Message<'_>, Error>
pub fn load_out_msg(&self) -> Result<Message<'_>, Error>
Load a non-owned outbound message.
Sourcepub fn load_out_msg_owned(&self) -> Result<OwnedMessage, Error>
pub fn load_out_msg_owned(&self) -> Result<OwnedMessage, Error>
Load an owned outbound message.
Sourcepub fn load_in_msg_cell(&self) -> Result<Cell, Error>
pub fn load_in_msg_cell(&self) -> Result<Cell, Error>
Load inbound message cell.
Sourcepub fn load_out_msg_cell(&self) -> Result<Cell, Error>
pub fn load_out_msg_cell(&self) -> Result<Cell, Error>
Load outbound message cell.
Sourcepub fn load_in_msg_envelope(&self) -> Result<MsgEnvelope, Error>
pub fn load_in_msg_envelope(&self) -> Result<MsgEnvelope, Error>
Load inbound message envelope.
Sourcepub fn load_out_msg_envelope(&self) -> Result<MsgEnvelope, Error>
pub fn load_out_msg_envelope(&self) -> Result<MsgEnvelope, Error>
Load outbound message envelope.
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 out_msg_envelope_hash(&self) -> &HashBytes
pub fn out_msg_envelope_hash(&self) -> &HashBytes
Returns a hash of the envelope with the outbound message.
Trait Implementations§
Source§impl Clone for InMsgTransit
impl Clone for InMsgTransit
Source§fn clone(&self) -> InMsgTransit
fn clone(&self) -> InMsgTransit
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 InMsgTransit
impl Debug for InMsgTransit
Source§impl<'tlb> Load<'tlb> for InMsgTransit
impl<'tlb> Load<'tlb> for InMsgTransit
Source§impl PartialEq for InMsgTransit
impl PartialEq for InMsgTransit
Source§impl Serialize for InMsgTransit
impl Serialize for InMsgTransit
Source§impl Store for InMsgTransit
impl Store for InMsgTransit
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 InMsgTransit
impl StructuralPartialEq for InMsgTransit
Auto Trait Implementations§
impl Freeze for InMsgTransit
impl !RefUnwindSafe for InMsgTransit
impl Send for InMsgTransit
impl Sync for InMsgTransit
impl Unpin for InMsgTransit
impl !UnwindSafe for InMsgTransit
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.