pub struct IntMsgInfo {
pub ihr_disabled: bool,
pub bounce: bool,
pub bounced: bool,
pub src: IntAddr,
pub dst: IntAddr,
pub value: CurrencyCollection,
pub ihr_fee: Tokens,
pub fwd_fee: Tokens,
pub created_lt: u64,
pub created_at: u32,
}Expand description
Internal message info.
Fields§
§ihr_disabled: boolWhether IHR is disabled for the message.
bounce: boolWhether to bounce this message back if the destination transaction fails.
bounced: boolWhether this message is a bounced message from some failed transaction.
src: IntAddrInternal source address.
dst: IntAddrInternal destination address.
value: CurrencyCollectionAttached amounts.
ihr_fee: TokensIHR fee.
NOTE: currently unused, but can be used to split attached amount.
fwd_fee: TokensForwarding fee paid for using the routing.
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 IntMsgInfo
impl Clone for IntMsgInfo
Source§fn clone(&self) -> IntMsgInfo
fn clone(&self) -> IntMsgInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IntMsgInfo
impl Debug for IntMsgInfo
Source§impl Default for IntMsgInfo
impl Default for IntMsgInfo
Source§impl<'de> Deserialize<'de> for IntMsgInfo
impl<'de> Deserialize<'de> for IntMsgInfo
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<'a> Load<'a> for IntMsgInfo
impl<'a> Load<'a> for IntMsgInfo
Source§impl PartialEq for IntMsgInfo
impl PartialEq for IntMsgInfo
Source§impl Serialize for IntMsgInfo
impl Serialize for IntMsgInfo
Source§impl Store for IntMsgInfo
impl Store for IntMsgInfo
Source§fn store_into(
&self,
builder: &mut CellBuilder,
context: &mut dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, context: &mut dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Eq for IntMsgInfo
impl StructuralPartialEq for IntMsgInfo
Auto Trait Implementations§
impl Freeze for IntMsgInfo
impl !RefUnwindSafe for IntMsgInfo
impl Send for IntMsgInfo
impl Sync for IntMsgInfo
impl Unpin for IntMsgInfo
impl !UnwindSafe for IntMsgInfo
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.