cln_plugin::options

Type Alias DefaultIntegerArrayConfigOption

Source
pub type DefaultIntegerArrayConfigOption<'a> = ConfigOption<'a, DefaultIntegerArray>;

Aliased Type§

struct DefaultIntegerArrayConfigOption<'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> DefaultIntegerArrayConfigOption<'a>

Source

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

Source

pub fn dynamic(self) -> Self