Struct chainhook_sdk::observer::EventObserverConfig
source · pub struct EventObserverConfig {Show 14 fields
pub chainhook_config: Option<ChainhookConfig>,
pub bitcoin_rpc_proxy_enabled: bool,
pub event_handlers: Vec<EventHandler>,
pub ingestion_port: u16,
pub bitcoind_rpc_username: String,
pub bitcoind_rpc_password: String,
pub bitcoind_rpc_url: String,
pub bitcoin_block_signaling: BitcoinBlockSignaling,
pub stacks_node_rpc_url: String,
pub display_logs: bool,
pub cache_path: String,
pub bitcoin_network: BitcoinNetwork,
pub stacks_network: StacksNetwork,
pub hord_config: Option<HordConfig>,
}Fields§
§chainhook_config: Option<ChainhookConfig>§bitcoin_rpc_proxy_enabled: bool§event_handlers: Vec<EventHandler>§ingestion_port: u16§bitcoind_rpc_username: String§bitcoind_rpc_password: String§bitcoind_rpc_url: String§bitcoin_block_signaling: BitcoinBlockSignaling§stacks_node_rpc_url: String§display_logs: bool§cache_path: String§bitcoin_network: BitcoinNetwork§stacks_network: StacksNetwork§hord_config: Option<HordConfig>Implementations§
source§impl EventObserverConfig
impl EventObserverConfig
pub fn get_cache_path_buf(&self) -> PathBuf
pub fn get_bitcoin_config(&self) -> BitcoinConfig
pub fn new_using_overrides( overrides: Option<&EventObserverConfigOverrides> ) -> Result<EventObserverConfig, String>
Trait Implementations§
source§impl Clone for EventObserverConfig
impl Clone for EventObserverConfig
source§fn clone(&self) -> EventObserverConfig
fn clone(&self) -> EventObserverConfig
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 moreAuto Trait Implementations§
impl RefUnwindSafe for EventObserverConfig
impl Send for EventObserverConfig
impl Sync for EventObserverConfig
impl Unpin for EventObserverConfig
impl UnwindSafe for EventObserverConfig
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.