pub struct OutMsgNew {
pub out_msg_envelope: Lazy<MsgEnvelope>,
pub transaction: Lazy<Transaction>,
}Expand description
Ordinary (internal) outbound message, generated in this block and included into the outbound queue.
Fields§
§out_msg_envelope: Lazy<MsgEnvelope>Outbound message envelope.
transaction: Lazy<Transaction>The source transaction of this message.
Implementations§
Source§impl OutMsgNew
impl OutMsgNew
Sourcepub fn load_out_msg_envelope(&self) -> Result<MsgEnvelope, Error>
pub fn load_out_msg_envelope(&self) -> Result<MsgEnvelope, Error>
Loads an envelope for the message.
Sourcepub fn load_out_msg_info(&self) -> Result<IntMsgInfo, Error>
pub fn load_out_msg_info(&self) -> Result<IntMsgInfo, Error>
Loads only message info.
Sourcepub fn load_out_msg(&self) -> Result<Message<'_>, Error>
pub fn load_out_msg(&self) -> Result<Message<'_>, Error>
Loads a non-owned message.
Sourcepub fn load_out_msg_owned(&self) -> Result<OwnedMessage, Error>
pub fn load_out_msg_owned(&self) -> Result<OwnedMessage, Error>
Loads an owned message.
Sourcepub fn load_transaction(&self) -> Result<Transaction, Error>
pub fn load_transaction(&self) -> Result<Transaction, Error>
Loads transaction.
Trait Implementations§
Source§impl Store for OutMsgNew
impl Store for OutMsgNew
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 OutMsgNew
impl StructuralPartialEq for OutMsgNew
Auto Trait Implementations§
impl Freeze for OutMsgNew
impl !RefUnwindSafe for OutMsgNew
impl Send for OutMsgNew
impl Sync for OutMsgNew
impl Unpin for OutMsgNew
impl !UnwindSafe for OutMsgNew
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.