@@ -1146,8 +1146,12 @@ pub struct FirstHopCandidate<'a> {
1146
1146
/// has been funded and is able to pay), and accessor methods may panic otherwise.
1147
1147
///
1148
1148
/// [`find_route`] validates this prior to constructing a [`CandidateRouteHop`].
1149
+ ///
1150
+ /// This is not exported to bindings users as lifetimes are not expressable in most languages.
1149
1151
pub details : & ' a ChannelDetails ,
1150
1152
/// The node id of the payer, which is also the source side of this candidate route hop.
1153
+ ///
1154
+ /// This is not exported to bindings users as lifetimes are not expressable in most languages.
1151
1155
pub payer_node_id : & ' a NodeId ,
1152
1156
}
1153
1157
@@ -1156,6 +1160,8 @@ pub struct FirstHopCandidate<'a> {
1156
1160
pub struct PublicHopCandidate < ' a > {
1157
1161
/// Information about the channel, including potentially its capacity and
1158
1162
/// direction-specific information.
1163
+ ///
1164
+ /// This is not exported to bindings users as lifetimes are not expressable in most languages.
1159
1165
pub info : DirectedChannelInfo < ' a > ,
1160
1166
/// The short channel ID of the channel, i.e. the identifier by which we refer to this
1161
1167
/// channel.
@@ -1166,8 +1172,12 @@ pub struct PublicHopCandidate<'a> {
1166
1172
#[ derive( Clone , Debug ) ]
1167
1173
pub struct PrivateHopCandidate < ' a > {
1168
1174
/// Information about the private hop communicated via BOLT 11.
1175
+ ///
1176
+ /// This is not exported to bindings users as lifetimes are not expressable in most languages.
1169
1177
pub hint : & ' a RouteHintHop ,
1170
1178
/// Node id of the next hop in BOLT 11 route hint.
1179
+ ///
1180
+ /// This is not exported to bindings users as lifetimes are not expressable in most languages.
1171
1181
pub target_node_id : & ' a NodeId
1172
1182
}
1173
1183
@@ -1176,6 +1186,8 @@ pub struct PrivateHopCandidate<'a> {
1176
1186
pub struct BlindedPathCandidate < ' a > {
1177
1187
/// Information about the blinded path including the fee, HTLC amount limits, and
1178
1188
/// cryptographic material required to build an HTLC through the given path.
1189
+ ///
1190
+ /// This is not exported to bindings users as lifetimes are not expressable in most languages.
1179
1191
pub hint : & ' a ( BlindedPayInfo , BlindedPath ) ,
1180
1192
/// Index of the hint in the original list of blinded hints.
1181
1193
///
@@ -1191,6 +1203,8 @@ pub struct OneHopBlindedPathCandidate<'a> {
1191
1203
/// cryptographic material required to build an HTLC terminating with the given path.
1192
1204
///
1193
1205
/// Note that the [`BlindedPayInfo`] is ignored here.
1206
+ ///
1207
+ /// This is not exported to bindings users as lifetimes are not expressable in most languages.
1194
1208
pub hint : & ' a ( BlindedPayInfo , BlindedPath ) ,
1195
1209
/// Index of the hint in the original list of blinded hints.
1196
1210
///
0 commit comments