pub struct IntMsgInfo<C: CellFamily> {
    pub ihr_disabled: bool,
    pub bounce: bool,
    pub bounced: bool,
    pub src: IntAddr,
    pub dst: IntAddr,
    pub value: CurrencyCollection<C>,
    pub ihr_fee: Tokens,
    pub fwd_fee: Tokens,
    pub created_lt: u64,
    pub created_at: u32,
}
Expand description

Internal message info.

Fields§

§ihr_disabled: bool

Whether IHR is disabled for the message.

§bounce: bool

Whether to bounce this message back if the destination transaction fails.

§bounced: bool

Whether this message is a bounced message from some failed transaction.

§src: IntAddr

Internal source address.

§dst: IntAddr

Internal destination address.

§value: CurrencyCollection<C>

Attached amounts.

§ihr_fee: Tokens

IHR fee.

NOTE: currently unused, but can be used to split attached amount.

§fwd_fee: Tokens

Forwarding fee paid for using the routing.

§created_lt: u64

Logical time when the message was created.

§created_at: u32

Unix timestamp when the message was created.

Implementations§

Returns the number of data bits that this struct occupies.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Tries to load itself from a cell slice.
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Tries to store itself into the cell builder.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.