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

Method filters

plugins/src/lib.rs:600–608  ·  view source on GitHub ↗
(mut self, filters: Vec<HookFilter>)

Source from the content-addressed store, hash-verified

598 }
599
600 pub fn filters(mut self, filters: Vec<HookFilter>) -> Self {
601 // Empty Vec would filter everything, must be None instead to not get serialized
602 if filters.is_empty() {
603 self.filters = None;
604 } else {
605 self.filters = Some(filters);
606 }
607 self
608 }
609
610 fn build(self) -> Hook<S> {
611 Hook {

Callers 3

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected