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

Method new_str_no_default

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

Source from the content-addressed store, hash-verified

623
624impl<'a> StringConfigOption<'a> {
625 pub const fn new_str_no_default(name: &'a str, description: &'a str) -> Self {
626 Self {
627 name,
628 default: (),
629 description: description,
630 deprecated: false,
631 dynamic: false,
632 multi: false,
633 }
634 }
635 pub fn dynamic(mut self) -> Self {
636 self.dynamic = true;
637 self

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected