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

Method new_i64_arr_with_default

plugins/src/options.rs:714–727  ·  view source on GitHub ↗
(
        name: &'a str,
        default: i64,
        description: &'a str,
    )

Source from the content-addressed store, hash-verified

712
713impl<'a> DefaultIntegerArrayConfigOption<'a> {
714 pub const fn new_i64_arr_with_default(
715 name: &'a str,
716 default: i64,
717 description: &'a str,
718 ) -> Self {
719 Self {
720 name,
721 default,
722 description,
723 deprecated: false,
724 dynamic: false,
725 multi: true,
726 }
727 }
728 pub fn dynamic(mut self) -> Self {
729 self.dynamic = true;
730 self

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected