pub struct ExtOutMsgInfo {
pub src: IntAddr,
pub dst: Option<ExtAddr>,
pub created_lt: u64,
pub created_at: u32,
}Expand description
External outgoing message info.
Fields§
§src: IntAddrInternal source address.
dst: Option<ExtAddr>Optional external address.
created_lt: u64Logical time when the message was created.
created_at: u32Unix timestamp when the message was created.
Implementations§
Trait Implementations§
Source§impl Clone for ExtOutMsgInfo
impl Clone for ExtOutMsgInfo
Source§fn clone(&self) -> ExtOutMsgInfo
fn clone(&self) -> ExtOutMsgInfo
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 ExtOutMsgInfo
impl Debug for ExtOutMsgInfo
Source§impl Default for ExtOutMsgInfo
impl Default for ExtOutMsgInfo
Source§fn default() -> ExtOutMsgInfo
fn default() -> ExtOutMsgInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExtOutMsgInfo
impl<'de> Deserialize<'de> for ExtOutMsgInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ExtOutMsgInfo> for MsgInfo
impl From<ExtOutMsgInfo> for MsgInfo
Source§fn from(value: ExtOutMsgInfo) -> Self
fn from(value: ExtOutMsgInfo) -> Self
Converts to this type from the input type.
Source§impl From<ExtOutMsgInfo> for RelaxedMsgInfo
impl From<ExtOutMsgInfo> for RelaxedMsgInfo
Source§fn from(info: ExtOutMsgInfo) -> Self
fn from(info: ExtOutMsgInfo) -> Self
Converts to this type from the input type.
Source§impl<'a> Load<'a> for ExtOutMsgInfo
impl<'a> Load<'a> for ExtOutMsgInfo
Source§impl PartialEq for ExtOutMsgInfo
impl PartialEq for ExtOutMsgInfo
Source§impl Serialize for ExtOutMsgInfo
impl Serialize for ExtOutMsgInfo
Source§impl Store for ExtOutMsgInfo
impl Store for ExtOutMsgInfo
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 ExtOutMsgInfo
impl StructuralPartialEq for ExtOutMsgInfo
Auto Trait Implementations§
impl Freeze for ExtOutMsgInfo
impl RefUnwindSafe for ExtOutMsgInfo
impl Send for ExtOutMsgInfo
impl Sync for ExtOutMsgInfo
impl Unpin for ExtOutMsgInfo
impl UnwindSafe for ExtOutMsgInfo
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.