pub struct LxRoute {
pub paths: Vec<LxPath>,
}Expand description
Newtype for Route.
Fields§
§paths: Vec<LxPath>The LxPaths taken for a single (possibly multi-path) payment.
If no LxBlindedTails are present, then the pubkey of the last
LxRouteHop in each path must be the same.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LxRoute
impl<'de> Deserialize<'de> for LxRoute
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
impl Eq for LxRoute
impl StructuralPartialEq for LxRoute
Auto Trait Implementations§
impl Freeze for LxRoute
impl RefUnwindSafe for LxRoute
impl Send for LxRoute
impl Sync for LxRoute
impl Unpin for LxRoute
impl UnsafeUnpin for LxRoute
impl UnwindSafe for LxRoute
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