pub struct VtxoSpec {
pub policy: VtxoPolicy,
pub amount: Amount,
pub expiry_height: BlockHeight,
pub server_pubkey: PublicKey,
pub exit_delta: BlockDelta,
}Expand description
Information that specifies a VTXO, independent of its origin.
Fields§
§policy: VtxoPolicy§amount: Amount§expiry_height: BlockHeight§server_pubkey: PublicKey§exit_delta: BlockDeltaImplementations§
Source§impl VtxoSpec
impl VtxoSpec
Sourcepub fn output_taproot(&self) -> TaprootSpendInfo
pub fn output_taproot(&self) -> TaprootSpendInfo
The taproot spend info for the output of this Vtxo.
Sourcepub fn output_script_pubkey(&self) -> ScriptBuf
pub fn output_script_pubkey(&self) -> ScriptBuf
The scriptPubkey of the output of this Vtxo.
Trait Implementations§
Source§impl Ord for VtxoSpec
impl Ord for VtxoSpec
Source§impl PartialOrd for VtxoSpec
impl PartialOrd for VtxoSpec
impl Eq for VtxoSpec
impl StructuralPartialEq for VtxoSpec
Auto Trait Implementations§
impl Freeze for VtxoSpec
impl RefUnwindSafe for VtxoSpec
impl Send for VtxoSpec
impl Sync for VtxoSpec
impl Unpin for VtxoSpec
impl UnwindSafe for VtxoSpec
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