Struct bee_message::payload::receipt::ReceiptPayload [−][src]
pub struct ReceiptPayload { /* fields omitted */ }
Expand description
Receipt is a listing of migrated funds.
Implementations
pub fn new(
migrated_at: MilestoneIndex,
last: bool,
funds: Vec<MigratedFundsEntry>,
transaction: Payload
) -> Result<Self, Error>
pub fn new(
migrated_at: MilestoneIndex,
last: bool,
funds: Vec<MigratedFundsEntry>,
transaction: Payload
) -> Result<Self, Error>
Creates a new ReceiptPayload
.
Returns the milestone index at which the funds of a ReceiptPayload
were migrated at in the legacy network.
Returns whether a ReceiptPayload
is the final one for a given migrated at index.
The funds which were migrated with a ReceiptPayload
.
The TreasuryTransaction
used to fund the funds of a ReceiptPayload
.
Trait Implementations
Performs the conversion.
Returns the length of the packed bytes.
Packs the instance to bytes and writes them to the passed writer.
Reads bytes from the passed reader and unpacks them into an instance.
Packs the instance to bytes and writes them to a newly allocated vector.
Reads bytes from the passed reader and unpacks them into an instance. Applies syntactic checks. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ReceiptPayload
impl Send for ReceiptPayload
impl Sync for ReceiptPayload
impl Unpin for ReceiptPayload
impl UnwindSafe for ReceiptPayload
Blanket Implementations
Mutably borrows from an owned value. Read more