pub struct RelaxedIntMsgInfo {
pub ihr_disabled: bool,
pub bounce: bool,
pub bounced: bool,
pub src: Option<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
Unfinished 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: Option<IntAddr>Optional internal 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 RelaxedIntMsgInfo
impl Clone for RelaxedIntMsgInfo
Source§fn clone(&self) -> RelaxedIntMsgInfo
fn clone(&self) -> RelaxedIntMsgInfo
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 RelaxedIntMsgInfo
impl Debug for RelaxedIntMsgInfo
Source§impl Default for RelaxedIntMsgInfo
impl Default for RelaxedIntMsgInfo
Source§impl<'de> Deserialize<'de> for RelaxedIntMsgInfo
impl<'de> Deserialize<'de> for RelaxedIntMsgInfo
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<RelaxedIntMsgInfo> for RelaxedMsgInfo
impl From<RelaxedIntMsgInfo> for RelaxedMsgInfo
Source§fn from(info: RelaxedIntMsgInfo) -> Self
fn from(info: RelaxedIntMsgInfo) -> Self
Converts to this type from the input type.
Source§impl<'a> Load<'a> for RelaxedIntMsgInfo
impl<'a> Load<'a> for RelaxedIntMsgInfo
Source§impl PartialEq for RelaxedIntMsgInfo
impl PartialEq for RelaxedIntMsgInfo
Source§impl Serialize for RelaxedIntMsgInfo
impl Serialize for RelaxedIntMsgInfo
Source§impl Store for RelaxedIntMsgInfo
impl Store for RelaxedIntMsgInfo
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 RelaxedIntMsgInfo
impl StructuralPartialEq for RelaxedIntMsgInfo
Auto Trait Implementations§
impl Freeze for RelaxedIntMsgInfo
impl !RefUnwindSafe for RelaxedIntMsgInfo
impl Send for RelaxedIntMsgInfo
impl Sync for RelaxedIntMsgInfo
impl Unpin for RelaxedIntMsgInfo
impl !UnwindSafe for RelaxedIntMsgInfo
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.