pub struct OutMsgExternal {
pub out_msg: Lazy<OwnedMessage>,
pub transaction: Lazy<Transaction>,
}Expand description
External outbound message.
Fields§
§out_msg: Lazy<OwnedMessage>External message itself.
transaction: Lazy<Transaction>The source transaction of this external message.
Implementations§
Source§impl OutMsgExternal
impl OutMsgExternal
Sourcepub fn load_out_msg_info(&self) -> Result<ExtOutMsgInfo, Error>
pub fn load_out_msg_info(&self) -> Result<ExtOutMsgInfo, 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 Clone for OutMsgExternal
impl Clone for OutMsgExternal
Source§fn clone(&self) -> OutMsgExternal
fn clone(&self) -> OutMsgExternal
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 OutMsgExternal
impl Debug for OutMsgExternal
Source§impl<'tlb> Load<'tlb> for OutMsgExternal
impl<'tlb> Load<'tlb> for OutMsgExternal
Source§impl PartialEq for OutMsgExternal
impl PartialEq for OutMsgExternal
Source§impl Serialize for OutMsgExternal
impl Serialize for OutMsgExternal
Source§impl Store for OutMsgExternal
impl Store for OutMsgExternal
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 OutMsgExternal
impl StructuralPartialEq for OutMsgExternal
Auto Trait Implementations§
impl Freeze for OutMsgExternal
impl !RefUnwindSafe for OutMsgExternal
impl Send for OutMsgExternal
impl Sync for OutMsgExternal
impl Unpin for OutMsgExternal
impl !UnwindSafe for OutMsgExternal
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.