pub struct BitcoinChainhookSpecification {Show 15 fields
pub uuid: String,
pub owner_uuid: Option<String>,
pub name: String,
pub network: BitcoinNetwork,
pub version: u32,
pub start_block: Option<u64>,
pub end_block: Option<u64>,
pub expire_after_occurrence: Option<u64>,
pub predicate: BitcoinPredicateType,
pub action: HookAction,
pub include_proof: bool,
pub include_inputs: bool,
pub include_outputs: bool,
pub include_witness: bool,
pub enabled: bool,
}Fields§
§uuid: String§owner_uuid: Option<String>§name: String§network: BitcoinNetwork§version: u32§start_block: Option<u64>§end_block: Option<u64>§expire_after_occurrence: Option<u64>§predicate: BitcoinPredicateType§action: HookAction§include_proof: bool§include_inputs: bool§include_outputs: bool§include_witness: bool§enabled: boolTrait Implementations§
source§impl Clone for BitcoinChainhookSpecification
impl Clone for BitcoinChainhookSpecification
source§fn clone(&self) -> BitcoinChainhookSpecification
fn clone(&self) -> BitcoinChainhookSpecification
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<'de> Deserialize<'de> for BitcoinChainhookSpecification
impl<'de> Deserialize<'de> for BitcoinChainhookSpecification
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<BitcoinChainhookSpecification> for BitcoinChainhookSpecification
impl PartialEq<BitcoinChainhookSpecification> for BitcoinChainhookSpecification
source§fn eq(&self, other: &BitcoinChainhookSpecification) -> bool
fn eq(&self, other: &BitcoinChainhookSpecification) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BitcoinChainhookSpecification
Auto Trait Implementations§
impl RefUnwindSafe for BitcoinChainhookSpecification
impl Send for BitcoinChainhookSpecification
impl Sync for BitcoinChainhookSpecification
impl Unpin for BitcoinChainhookSpecification
impl UnwindSafe for BitcoinChainhookSpecification
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.