Struct bee_message::payload::receipt::MigratedFundsEntry
source · pub struct MigratedFundsEntry { /* private fields */ }Expand description
Describes funds which were migrated from a legacy network.
Implementations§
source§impl MigratedFundsEntry
impl MigratedFundsEntry
sourcepub 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.
sourcepub fn tail_transaction_hash(&self) -> &TailTransactionHash
pub fn tail_transaction_hash(&self) -> &TailTransactionHash
Returns the tail transaction hash of a MigratedFundsEntry.
sourcepub fn output(&self) -> &SignatureLockedSingleOutput
pub fn output(&self) -> &SignatureLockedSingleOutput
Returns the output of a MigratedFundsEntry.
Trait Implementations§
source§impl Clone for MigratedFundsEntry
impl Clone for MigratedFundsEntry
source§fn clone(&self) -> MigratedFundsEntry
fn clone(&self) -> MigratedFundsEntry
Returns a copy 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 MigratedFundsEntry
impl Debug for MigratedFundsEntry
source§impl Packable for MigratedFundsEntry
impl Packable for MigratedFundsEntry
source§fn packed_len(&self) -> usize
fn packed_len(&self) -> usize
Returns the length of the packed bytes.
source§fn pack<W: Write>(&self, writer: &mut W) -> Result<(), Self::Error>
fn pack<W: Write>(&self, writer: &mut W) -> Result<(), Self::Error>
Packs the instance to bytes and writes them to the passed writer.
source§fn unpack_inner<R: Read + ?Sized, const CHECK: bool>(
reader: &mut R
) -> Result<Self, Self::Error>
fn unpack_inner<R: Read + ?Sized, const CHECK: bool>( reader: &mut R ) -> Result<Self, Self::Error>
Reads bytes from the passed reader and unpacks them into an instance.
source§fn pack_new(&self) -> Vec<u8, Global>
fn pack_new(&self) -> Vec<u8, Global>
Packs the instance to bytes and writes them to a newly allocated vector.
source§impl PartialEq<MigratedFundsEntry> for MigratedFundsEntry
impl PartialEq<MigratedFundsEntry> for MigratedFundsEntry
source§fn eq(&self, other: &MigratedFundsEntry) -> bool
fn eq(&self, other: &MigratedFundsEntry) -> bool
This method tests for
self and other values to be equal, and is used
by ==.