Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ new
Method
new
plugins/src/messages.rs:174–178 ·
view source on GitHub ↗
(method: &str)
Source
from the content-addressed store, hash-verified
172
173
impl NotificationTopic {
174
pub fn new(method: &str) -> Self {
175
Self {
176
method: method.to_string(),
177
}
178
}
179
}
180
181
#[derive(Serialize, Default, Debug)]
Callers
nothing calls this directly
Calls
1
to_string
Method · 0.45
Tested by
no test coverage detected