cln_plugin::options

Type Alias DefaultStringArrayConfigOption

Source
pub type DefaultStringArrayConfigOption<'a> = ConfigOption<'a, DefaultStringArray>;

Aliased Type§

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

Fields§

§name: &'a str

The name of the ConfigOption.

§default: &'a str

The default value of the ConfigOption

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

Implementations§

Source§

impl<'a> DefaultStringArrayConfigOption<'a>

Source

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

Source

pub fn dynamic(self) -> Self