pub struct SessionRouteNode {
pub pubkey: Pubkey,
pub amount: u128,
pub channel_outpoint: OutPoint,
}Expand description
The node and channel information in a payment route hop
Fields§
§pubkey: Pubkeythe public key of the node
amount: u128the amount for this hop
channel_outpoint: OutPointthe channel outpoint for this hop
Trait Implementations§
Source§impl Clone for SessionRouteNode
impl Clone for SessionRouteNode
Source§fn clone(&self) -> SessionRouteNode
fn clone(&self) -> SessionRouteNode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionRouteNode
impl Debug for SessionRouteNode
Source§impl<'de> Deserialize<'de> for SessionRouteNode
impl<'de> Deserialize<'de> for SessionRouteNode
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 SessionRouteNode
impl RefUnwindSafe for SessionRouteNode
impl Send for SessionRouteNode
impl Sync for SessionRouteNode
impl Unpin for SessionRouteNode
impl UnsafeUnpin for SessionRouteNode
impl UnwindSafe for SessionRouteNode
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