Struct bee_message::prelude::MigratedFundsEntry [−][src]
pub struct MigratedFundsEntry { /* fields omitted */ }
Expand description
Describes funds which were migrated from a legacy network.
Implementations
pub fn new(
tail_transaction_hash: TailTransactionHash,
output: SignatureLockedSingleOutput
) -> Result<Self, Error>
pub fn new(
tail_transaction_hash: TailTransactionHash,
output: SignatureLockedSingleOutput
) -> Result<Self, Error>
Creates a new MigratedFundsEntry
.
Returns the tail transaction hash of a MigratedFundsEntry
.
Returns the output of a MigratedFundsEntry
.
Trait Implementations
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 MigratedFundsEntry
impl Send for MigratedFundsEntry
impl Sync for MigratedFundsEntry
impl Unpin for MigratedFundsEntry
impl UnwindSafe for MigratedFundsEntry
Blanket Implementations
Mutably borrows from an owned value. Read more