Struct bee_ledger::types::Receipt [−][src]
pub struct Receipt { /* fields omitted */ }
Expand description
A type that wraps a receipt and the index of the milestone in which it was included.
Implementations
Creates a new Receipt
.
Returns the inner receipt of the Receipt
.
Returns the index of the milestone in which the Receipt
was included.
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
Auto Trait Implementations
impl RefUnwindSafe for Receipt
impl UnwindSafe for Receipt
Blanket Implementations
Mutably borrows from an owned value. Read more