Struct chainhook_sdk::chainhooks::bitcoin::BitcoinTriggerChainhook
source · pub struct BitcoinTriggerChainhook<'a> {
pub chainhook: &'a BitcoinChainhookSpecification,
pub apply: Vec<(Vec<&'a BitcoinTransactionData>, &'a BitcoinBlockData)>,
pub rollback: Vec<(Vec<&'a BitcoinTransactionData>, &'a BitcoinBlockData)>,
}Fields§
§chainhook: &'a BitcoinChainhookSpecification§apply: Vec<(Vec<&'a BitcoinTransactionData>, &'a BitcoinBlockData)>§rollback: Vec<(Vec<&'a BitcoinTransactionData>, &'a BitcoinBlockData)>Auto Trait Implementations§
impl<'a> RefUnwindSafe for BitcoinTriggerChainhook<'a>
impl<'a> Send for BitcoinTriggerChainhook<'a>
impl<'a> Sync for BitcoinTriggerChainhook<'a>
impl<'a> Unpin for BitcoinTriggerChainhook<'a>
impl<'a> UnwindSafe for BitcoinTriggerChainhook<'a>
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
§fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where A: Array<Item = T>,
Converts
self into a collection.