pub struct HopHint {
pub pubkey: Pubkey,
pub channel_outpoint: OutPoint,
pub fee_rate: u64,
pub tlc_expiry_delta: u64,
}Expand description
A hop hint is a hint for a node to use a specific channel, usually used for the last hop to the target node.
Fields§
§pubkey: PubkeyThe public key of the node.
channel_outpoint: OutPointThe outpoint for the channel.
fee_rate: u64The fee rate to use this hop to forward the payment.
tlc_expiry_delta: u64The TLC expiry delta to use this hop to forward the payment.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HopHint
impl<'de> Deserialize<'de> for HopHint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl !Freeze for HopHint
impl RefUnwindSafe for HopHint
impl Send for HopHint
impl Sync for HopHint
impl Unpin for HopHint
impl UnsafeUnpin for HopHint
impl UnwindSafe for HopHint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more