[bindings] No-export `RouteHopCandidate` lifetime'd fields
authorMatt Corallo <git@bluematt.me>
Tue, 23 Jan 2024 01:16:46 +0000 (01:16 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 23 Jan 2024 19:13:33 +0000 (19:13 +0000)
commitdee3b31ac5d50a03f3f6931e25263ef94414fa11
treee017fde61845b3b0dc30efe83ba08ea34c93880b
parentc221193237ad895560a2d998bb79cdaca63575c5
[bindings] No-export `RouteHopCandidate` lifetime'd fields

The bindings cannot express lifetimes, so exposing any field which
is a reference (and not `clone`-able, at least for garbage
collected language bindings) is unsafe for those expecting a
high-level interface.

Thus, we simply no-export the `RouteHopCandidate` inner struct
fields which are references (there are relevant accessors for them
anyway).
lightning/src/routing/router.rs