pub enum SpendNotificationMode {
None,
Txid,
Script,
WholeTx,
}Expand description
How the Engine notifies a LookupService when an output is spent.
Variants§
None
No spend notification.
Txid
Provide only the spending txid.
Script
Provide the spending txid + unlocking script + input details.
WholeTx
Provide the entire spending transaction as Atomic BEEF.
Trait Implementations§
Source§impl Clone for SpendNotificationMode
impl Clone for SpendNotificationMode
impl Copy for SpendNotificationMode
Source§impl Debug for SpendNotificationMode
impl Debug for SpendNotificationMode
Source§impl<'de> Deserialize<'de> for SpendNotificationMode
impl<'de> Deserialize<'de> for SpendNotificationMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SpendNotificationMode
Source§impl PartialEq for SpendNotificationMode
impl PartialEq for SpendNotificationMode
Source§impl Serialize for SpendNotificationMode
impl Serialize for SpendNotificationMode
impl StructuralPartialEq for SpendNotificationMode
Auto Trait Implementations§
impl Freeze for SpendNotificationMode
impl RefUnwindSafe for SpendNotificationMode
impl Send for SpendNotificationMode
impl Sync for SpendNotificationMode
impl Unpin for SpendNotificationMode
impl UnsafeUnpin for SpendNotificationMode
impl UnwindSafe for SpendNotificationMode
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