pub struct LiquidityServiceConfig {
pub lsps2_service_config: Option<LSPS2ServiceConfig>,
pub lsps5_service_config: Option<LSPS5ServiceConfig>,
pub advertise_service: bool,
}Expand description
A server-side configuration for LiquidityManager.
Allows end-users to configure options when using the LiquidityManager
to provide liquidity services to clients.
Fields§
§lsps2_service_config: Option<LSPS2ServiceConfig>Optional server-side configuration for JIT channels should you want to support them.
lsps5_service_config: Option<LSPS5ServiceConfig>Optional server-side configuration for LSPS5 webhook service.
advertise_service: boolControls whether the liquidity service should be advertised via setting the feature bit in node announcment and the init message.
Trait Implementations§
Source§impl Clone for LiquidityServiceConfig
impl Clone for LiquidityServiceConfig
Source§fn clone(&self) -> LiquidityServiceConfig
fn clone(&self) -> LiquidityServiceConfig
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 moreAuto Trait Implementations§
impl Freeze for LiquidityServiceConfig
impl RefUnwindSafe for LiquidityServiceConfig
impl Send for LiquidityServiceConfig
impl Sync for LiquidityServiceConfig
impl Unpin for LiquidityServiceConfig
impl UnwindSafe for LiquidityServiceConfig
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