cln_plugin::options

Type Alias StringArrayConfigOption

Source
pub type StringArrayConfigOption<'a> = ConfigOption<'a, StringArray>;

Aliased Type§

struct StringArrayConfigOption<'a> {
    pub name: &'a str,
    pub default: (),
    pub description: &'a str,
    pub deprecated: bool,
    pub dynamic: bool,
    pub multi: bool,
}

Fields§

§name: &'a str

The name of the ConfigOption.

§default: ()

The default value of the ConfigOption

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

Implementations§

Source§

impl<'a> StringArrayConfigOption<'a>

Source

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

Source

pub fn dynamic(self) -> Self