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.
Fields§
§pubkey: PubkeyThe public key of the node
channel_outpoint: OutPointThe outpoint of 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
Source§impl JsonSchema for HopHint
impl JsonSchema for HopHint
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto 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