pub struct Reward {
pub txid: Txid,
pub vout: u32,
pub reward: Amount,
pub zero_count: u8,
}Expand description
Reward information for a single rewarded output.
Fields§
§txid: TxidTransaction ID that produced the reward.
vout: u32Output index carrying the reward.
reward: AmountZELD reward granted to the output.
zero_count: u8Leading zero count of the transaction ID.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reward
impl RefUnwindSafe for Reward
impl Send for Reward
impl Sync for Reward
impl Unpin for Reward
impl UnwindSafe for Reward
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