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

Method new_i64_with_default

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

Source from the content-addressed store, hash-verified

678
679impl<'a> DefaultIntegerConfigOption<'a> {
680 pub const fn new_i64_with_default(name: &'a str, default: i64, description: &'a str) -> Self {
681 Self {
682 name: name,
683 default: default,
684 description: description,
685 deprecated: false,
686 dynamic: false,
687 multi: false,
688 }
689 }
690 pub fn dynamic(mut self) -> Self {
691 self.dynamic = true;
692 self

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected