Struct bee_ledger::types::TreasuryDiff [−][src]
pub struct TreasuryDiff { /* fields omitted */ }
Expand description
Wraps together the identifiers of the milestones that created and consumed treasury outputs.
Implementations
Creates a new TreasuryDiff
.
Returns the id of the milestone that created the treasury output associated to the TreasuryDiff
.
Returns the id of the milestone that consumed the treasury input associated to the TreasuryDiff
.
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 TreasuryDiff
impl Send for TreasuryDiff
impl Sync for TreasuryDiff
impl Unpin for TreasuryDiff
impl UnwindSafe for TreasuryDiff
Blanket Implementations
Mutably borrows from an owned value. Read more