cln_plugin::options

Type Alias DefaultIntegerConfigOption

Source
pub type DefaultIntegerConfigOption<'a> = ConfigOption<'a, DefaultInteger>;
Expand description

Config values are repsentedas an i64. A default is used

Aliased Type§

struct DefaultIntegerConfigOption<'a> {
    pub name: &'a str,
    pub default: i64,
    pub description: &'a str,
    pub deprecated: bool,
    pub dynamic: bool,
    pub multi: bool,
}

Fields§

§name: &'a str

The name of the ConfigOption.

§default: i64

The default value of the ConfigOption

§description: &'a str§deprecated: bool§dynamic: bool§multi: bool

Implementations§

Source§

impl<'a> DefaultIntegerConfigOption<'a>

Source

pub const fn new_i64_with_default( name: &'a str, default: i64, description: &'a str, ) -> Self

Source

pub fn dynamic(self) -> Self