Struct chainhook_types::StacksNodeConfig
source · pub struct StacksNodeConfig {
pub rpc_url: String,
pub ingestion_port: u16,
}Fields§
§rpc_url: String§ingestion_port: u16Implementations§
source§impl StacksNodeConfig
impl StacksNodeConfig
pub fn default_localhost(ingestion_port: u16) -> StacksNodeConfig
Trait Implementations§
source§impl Clone for StacksNodeConfig
impl Clone for StacksNodeConfig
source§fn clone(&self) -> StacksNodeConfig
fn clone(&self) -> StacksNodeConfig
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 StacksNodeConfig
impl Debug for StacksNodeConfig
source§impl<'de> Deserialize<'de> for StacksNodeConfig
impl<'de> Deserialize<'de> for StacksNodeConfig
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 for StacksNodeConfig
impl PartialEq for StacksNodeConfig
source§fn eq(&self, other: &StacksNodeConfig) -> bool
fn eq(&self, other: &StacksNodeConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StacksNodeConfig
Auto Trait Implementations§
impl Freeze for StacksNodeConfig
impl RefUnwindSafe for StacksNodeConfig
impl Send for StacksNodeConfig
impl Sync for StacksNodeConfig
impl Unpin for StacksNodeConfig
impl UnwindSafe for StacksNodeConfig
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