pub struct ExtInMsgInfo {
pub src: Option<ExtAddr>,
pub dst: IntAddr,
pub import_fee: Tokens,
}Expand description
External incoming message info.
Fields§
§src: Option<ExtAddr>Optional external source address.
dst: IntAddrInternal destination address.
import_fee: TokensExternal message import fee.
NOTE: currently unused and reserved for future use.
Implementations§
Trait Implementations§
Source§impl Clone for ExtInMsgInfo
impl Clone for ExtInMsgInfo
Source§fn clone(&self) -> ExtInMsgInfo
fn clone(&self) -> ExtInMsgInfo
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 ExtInMsgInfo
impl Debug for ExtInMsgInfo
Source§impl Default for ExtInMsgInfo
impl Default for ExtInMsgInfo
Source§fn default() -> ExtInMsgInfo
fn default() -> ExtInMsgInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExtInMsgInfo
impl<'de> Deserialize<'de> for ExtInMsgInfo
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<ExtInMsgInfo> for MsgInfo
impl From<ExtInMsgInfo> for MsgInfo
Source§fn from(value: ExtInMsgInfo) -> Self
fn from(value: ExtInMsgInfo) -> Self
Converts to this type from the input type.
Source§impl<'a> Load<'a> for ExtInMsgInfo
impl<'a> Load<'a> for ExtInMsgInfo
Source§impl PartialEq for ExtInMsgInfo
impl PartialEq for ExtInMsgInfo
Source§impl Serialize for ExtInMsgInfo
impl Serialize for ExtInMsgInfo
Source§impl Store for ExtInMsgInfo
impl Store for ExtInMsgInfo
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 ExtInMsgInfo
impl StructuralPartialEq for ExtInMsgInfo
Auto Trait Implementations§
impl Freeze for ExtInMsgInfo
impl RefUnwindSafe for ExtInMsgInfo
impl Send for ExtInMsgInfo
impl Sync for ExtInMsgInfo
impl Unpin for ExtInMsgInfo
impl UnwindSafe for ExtInMsgInfo
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.