pub enum OutputSpent {
None {
txid: String,
output_index: u32,
topic: String,
},
Txid {
txid: String,
output_index: u32,
topic: String,
spending_txid: String,
},
Script {
txid: String,
output_index: u32,
topic: String,
spending_txid: String,
input_index: u32,
unlocking_script: Vec<u8>,
sequence_number: u32,
off_chain_values: Option<Vec<u8>>,
},
WholeTx {
txid: String,
output_index: u32,
topic: String,
spending_atomic_beef: Vec<u8>,
off_chain_values: Option<Vec<u8>>,
},
}Expand description
Payload delivered to LookupService::output_spent().
Variants§
None
No details — just that it was spent.
Txid
Spending txid provided.
Script
Spending txid + unlocking script + input details.
Fields
WholeTx
Full spending transaction as Atomic BEEF.
Trait Implementations§
Source§impl Clone for OutputSpent
impl Clone for OutputSpent
Auto Trait Implementations§
impl Freeze for OutputSpent
impl RefUnwindSafe for OutputSpent
impl Send for OutputSpent
impl Sync for OutputSpent
impl Unpin for OutputSpent
impl UnsafeUnpin for OutputSpent
impl UnwindSafe for OutputSpent
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