pub struct LnUrlBalancerServiceConfig {Show 18 fields
pub partitions: HashSet<String>,
pub address: SocketAddr,
pub health_check_frequency_secs: f64,
pub parallel_health_check: bool,
pub health_check_consecutive_success_to_healthy: usize,
pub health_check_consecutive_failure_to_unhealthy: usize,
pub backend_update_frequency_secs: f64,
pub invoice_expiry_secs: u64,
pub allowed_hosts: HashSet<String>,
pub backoff: BackoffConfig,
pub backend_selection: BackendSelectionConfig,
pub tls: Option<TlsConfig>,
pub ln_client_timeout_secs: f64,
pub selection_capacity_bias: Option<f64>,
pub comment_allowed: Option<u32>,
pub bech32_qr_scale: usize,
pub bech32_qr_light: u8,
pub bech32_qr_dark: u8,
}Fields§
§partitions: HashSet<String>§address: SocketAddr§health_check_frequency_secs: f64§parallel_health_check: bool§health_check_consecutive_success_to_healthy: usize§health_check_consecutive_failure_to_unhealthy: usize§backend_update_frequency_secs: f64§invoice_expiry_secs: u64§allowed_hosts: HashSet<String>§backoff: BackoffConfig§backend_selection: BackendSelectionConfig§tls: Option<TlsConfig>§ln_client_timeout_secs: f64§selection_capacity_bias: Option<f64>§comment_allowed: Option<u32>§bech32_qr_scale: usize§bech32_qr_light: u8§bech32_qr_dark: u8Trait Implementations§
Source§impl Clone for LnUrlBalancerServiceConfig
impl Clone for LnUrlBalancerServiceConfig
Source§fn clone(&self) -> LnUrlBalancerServiceConfig
fn clone(&self) -> LnUrlBalancerServiceConfig
Returns a duplicate 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 LnUrlBalancerServiceConfig
impl Debug for LnUrlBalancerServiceConfig
Source§impl<'de> Deserialize<'de> for LnUrlBalancerServiceConfig
impl<'de> Deserialize<'de> for LnUrlBalancerServiceConfig
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
Auto Trait Implementations§
impl Freeze for LnUrlBalancerServiceConfig
impl RefUnwindSafe for LnUrlBalancerServiceConfig
impl Send for LnUrlBalancerServiceConfig
impl Sync for LnUrlBalancerServiceConfig
impl Unpin for LnUrlBalancerServiceConfig
impl UnwindSafe for LnUrlBalancerServiceConfig
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