pub struct StacksChainhookSpecification {Show 13 fields
pub uuid: String,
pub owner_uuid: Option<String>,
pub name: String,
pub network: StacksNetwork,
pub version: u32,
pub start_block: Option<u64>,
pub end_block: Option<u64>,
pub expire_after_occurrence: Option<u64>,
pub capture_all_events: Option<bool>,
pub decode_clarity_values: Option<bool>,
pub predicate: StacksPredicate,
pub action: HookAction,
pub enabled: bool,
}Fields§
§uuid: String§owner_uuid: Option<String>§name: String§network: StacksNetwork§version: u32§start_block: Option<u64>§end_block: Option<u64>§expire_after_occurrence: Option<u64>§capture_all_events: Option<bool>§decode_clarity_values: Option<bool>§predicate: StacksPredicate§action: HookAction§enabled: boolImplementations§
Trait Implementations§
source§impl Clone for StacksChainhookSpecification
impl Clone for StacksChainhookSpecification
source§fn clone(&self) -> StacksChainhookSpecification
fn clone(&self) -> StacksChainhookSpecification
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for StacksChainhookSpecification
impl Debug for StacksChainhookSpecification
source§impl<'de> Deserialize<'de> for StacksChainhookSpecification
impl<'de> Deserialize<'de> for StacksChainhookSpecification
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
source§impl PartialEq<StacksChainhookSpecification> for StacksChainhookSpecification
impl PartialEq<StacksChainhookSpecification> for StacksChainhookSpecification
source§fn eq(&self, other: &StacksChainhookSpecification) -> bool
fn eq(&self, other: &StacksChainhookSpecification) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StacksChainhookSpecification
Auto Trait Implementations§
impl RefUnwindSafe for StacksChainhookSpecification
impl Send for StacksChainhookSpecification
impl Sync for StacksChainhookSpecification
impl Unpin for StacksChainhookSpecification
impl UnwindSafe for StacksChainhookSpecification
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.