Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ sub
Method
sub
cln-rpc/src/primitives.rs:94–98 ·
view source on GitHub ↗
(self, rhs: Self)
Source
from the content-addressed store, hash-verified
92
type Output = Amount;
93
94
fn sub(self, rhs: Self) -> Self::Output {
95
Amount {
96
msat: self.msat - rhs.msat
97
}
98
}
99
}
100
101
#[derive(Clone, Copy, Debug)]
Callers
7
write
Method · 0.80
generate_composite
Method · 0.80
generate
Method · 0.80
decamelcase
Function · 0.80
normalize_varname
Function · 0.80
_getmanifest
Method · 0.80
rewrite_types
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected