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

Method from

cln-grpc/src/pb.rs:18–20  ·  view source on GitHub ↗
(a: JAmount)

Source from the content-addressed store, hash-verified

16
17 impl From<JAmount> for Amount {
18 fn from(a: JAmount) -> Self {
19 Amount { msat: a.msat() }
20 }
21 }
22
23 impl From<Amount> for JAmount {

Callers

nothing calls this directly

Calls 9

AmountClass · 0.85
StringClass · 0.85
to_vecMethod · 0.80
mapMethod · 0.80
as_i64Method · 0.80
msatMethod · 0.45
unwrapMethod · 0.45
serializeMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected