Struct bee_message::payload::receipt::MigratedFundsEntry
source · [−]pub struct MigratedFundsEntry { /* private fields */ }Expand description
Describes funds which were migrated from a legacy network.
Implementations
sourceimpl 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
sourceimpl Clone for MigratedFundsEntry
impl Clone for MigratedFundsEntry
sourcefn clone(&self) -> MigratedFundsEntry
fn clone(&self) -> MigratedFundsEntry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MigratedFundsEntry
impl Debug for MigratedFundsEntry
sourceimpl Packable for MigratedFundsEntry
impl Packable for MigratedFundsEntry
sourcefn packed_len(&self) -> usize
fn packed_len(&self) -> usize
Returns the length of the packed bytes.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourceimpl PartialEq<MigratedFundsEntry> for MigratedFundsEntry
impl PartialEq<MigratedFundsEntry> for MigratedFundsEntry
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &MigratedFundsEntry) -> bool
fn ne(&self, other: &MigratedFundsEntry) -> bool
This method tests for !=.
impl Eq for MigratedFundsEntry
impl StructuralEq for MigratedFundsEntry
impl StructuralPartialEq for MigratedFundsEntry
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more