pub struct ZeldTransaction {
pub txid: Txid,
pub inputs: Vec<ZeldInput>,
pub outputs: Vec<ZeldOutput>,
pub zero_count: u8,
pub reward: Amount,
pub has_op_return_distribution: bool,
}Expand description
Pre-processed transaction with all ZELD-relevant fields.
Fields§
§txid: TxidTransaction ID.
inputs: Vec<ZeldInput>Transaction inputs.
outputs: Vec<ZeldOutput>Transaction outputs (excluding OP_RETURN).
zero_count: u8Number of leading zeros in the txid.
reward: AmountTotal ZELD reward for this transaction.
has_op_return_distribution: boolWhether custom distribution was specified via OP_RETURN.
Trait Implementations§
Source§impl Clone for ZeldTransaction
impl Clone for ZeldTransaction
Source§fn clone(&self) -> ZeldTransaction
fn clone(&self) -> ZeldTransaction
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ZeldTransaction
impl RefUnwindSafe for ZeldTransaction
impl Send for ZeldTransaction
impl Sync for ZeldTransaction
impl Unpin for ZeldTransaction
impl UnwindSafe for ZeldTransaction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more