pub struct RouteItem {
pub id: String,
pub channel: String,
pub direction: Option<u64>,
pub amount_msat: MSat,
pub delay: i64,
pub style: Option<String>,
pub blinding: Option<String>,
pub enctlv: Option<String>,
}
Expand description
Sub-structure for route in ‘pay’, ‘getroute’ and ‘sendpay’
Fields§
§id: String
§channel: String
§direction: Option<u64>
§amount_msat: MSat
§delay: i64
§style: Option<String>
§blinding: Option<String>
§enctlv: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RouteItem
impl<'de> Deserialize<'de> for RouteItem
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 RouteItem
impl RefUnwindSafe for RouteItem
impl Send for RouteItem
impl Sync for RouteItem
impl Unpin for RouteItem
impl UnwindSafe for RouteItem
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