MCPcopy Create free account
hub / github.com/ElementsProject/lightning / new_str_arr_no_default

Method new_str_arr_no_default

plugins/src/options.rs:663–672  ·  view source on GitHub ↗
(name: &'a str, description: &'a str)

Source from the content-addressed store, hash-verified

661
662impl<'a> StringArrayConfigOption<'a> {
663 pub const fn new_str_arr_no_default(name: &'a str, description: &'a str) -> Self {
664 Self {
665 name,
666 default: (),
667 description,
668 deprecated: false,
669 dynamic: false,
670 multi: true,
671 }
672 }
673 pub fn dynamic(mut self) -> Self {
674 self.dynamic = true;
675 self

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected