MCPcopy 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

writeMethod · 0.80
generate_compositeMethod · 0.80
generateMethod · 0.80
decamelcaseFunction · 0.80
normalize_varnameFunction · 0.80
_getmanifestMethod · 0.80
rewrite_typesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected