Struct chainhook_sdk::chainhooks::stacks::StacksTriggerChainhook
source · pub struct StacksTriggerChainhook<'a> {
pub chainhook: &'a StacksChainhookSpecification,
pub apply: Vec<(Vec<&'a StacksTransactionData>, &'a dyn AbstractStacksBlock)>,
pub rollback: Vec<(Vec<&'a StacksTransactionData>, &'a dyn AbstractStacksBlock)>,
}Fields§
§chainhook: &'a StacksChainhookSpecification§apply: Vec<(Vec<&'a StacksTransactionData>, &'a dyn AbstractStacksBlock)>§rollback: Vec<(Vec<&'a StacksTransactionData>, &'a dyn AbstractStacksBlock)>Implementations§
source§impl<'a> StacksTriggerChainhook<'a>
impl<'a> StacksTriggerChainhook<'a>
pub fn should_decode_clarity_value(&self) -> bool
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for StacksTriggerChainhook<'a>
impl<'a> !Send for StacksTriggerChainhook<'a>
impl<'a> !Sync for StacksTriggerChainhook<'a>
impl<'a> Unpin for StacksTriggerChainhook<'a>
impl<'a> !UnwindSafe for StacksTriggerChainhook<'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.