MCPcopy 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)]
59pub struct Amount {
60 msat: u64,
61}
62
63impl Amount {
64 pub fn from_msat(msat: u64) -> Amount {

Callers 3

fromMethod · 0.85
deserializeMethod · 0.85
test_amount_all_anyFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_amount_all_anyFunction · 0.68