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

Method new_bool_no_default

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

Source from the content-addressed store, hash-verified

750
751impl<'a> BooleanConfigOption<'a> {
752 pub const fn new_bool_no_default(name: &'a str, description: &'a str) -> Self {
753 Self {
754 name,
755 description,
756 default: (),
757 deprecated: false,
758 dynamic: false,
759 multi: false,
760 }
761 }
762 pub fn dynamic(mut self) -> Self {
763 self.dynamic = true;
764 self

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected