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

Method sub

cln-rpc/src/primitives.rs:209–213  ·  view source on GitHub ↗
(self, rhs: Self)

Source from the content-addressed store, hash-verified

207 type Output = Amount;
208
209 fn sub(self, rhs: Self) -> Self::Output {
210 Amount {
211 msat: self.msat - rhs.msat,
212 }
213 }
214}
215
216#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]

Callers 13

writeMethod · 0.80
decamelcaseFunction · 0.80
generateMethod · 0.80
camel_to_snakeFunction · 0.80
generate_compositeMethod · 0.80
normalize_varnameFunction · 0.80
get_usageMethod · 0.80
replace_values_in_jsonFunction · 0.80
generate_list_examplesFunction · 0.80
test_concurrencyFunction · 0.80
collapse_whitespaceFunction · 0.80
collapse_whitespaceFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_concurrencyFunction · 0.64