Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ Amount
Class
Amount
cln-rpc/src/primitives.rs:59–61 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
57
58
#[derive(Copy, Clone, Debug, PartialEq)]
59
pub struct Amount {
60
msat: u64,
61
}
62
63
impl Amount {
64
pub fn from_msat(msat: u64) -> Amount {
Callers
3
from
Method · 0.85
deserialize
Method · 0.85
test_amount_all_any
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_amount_all_any
Function · 0.68