VtxoRef

Trait VtxoRef 

Source
pub trait VtxoRef {
    // Required methods
    fn vtxo_id(&self) -> VtxoId;
    fn vtxo(&self) -> Option<&Vtxo>;
}
Expand description

Implemented on anything that is kinda a Vtxo

Required Methods§

Source

fn vtxo_id(&self) -> VtxoId

The VtxoId of the VTXO

Source

fn vtxo(&self) -> Option<&Vtxo>

If the Vtxo can be provided, provides it

Implementors§

Source§

impl VtxoRef for Vtxo

Source§

impl VtxoRef for VtxoId

Source§

impl<'a> VtxoRef for &'a Vtxo

Source§

impl<'a> VtxoRef for &'a VtxoId