pub enum LSPS2Request {
GetInfo(GetInfoRequest),
Buy(BuyRequest),
}
Expand description
An enum that captures all the valid JSON-RPC requests in the LSPS2 protocol.
Variants§
GetInfo(GetInfoRequest)
A request to learn an LSP’s channel fees and parameters.
Buy(BuyRequest)
A request to buy a JIT channel from an LSP.
Trait Implementations§
Source§impl Clone for LSPS2Request
impl Clone for LSPS2Request
Source§fn clone(&self) -> LSPS2Request
fn clone(&self) -> LSPS2Request
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 LSPS2Request
impl Debug for LSPS2Request
Source§impl PartialEq for LSPS2Request
impl PartialEq for LSPS2Request
impl Eq for LSPS2Request
impl StructuralPartialEq for LSPS2Request
Auto Trait Implementations§
impl Freeze for LSPS2Request
impl RefUnwindSafe for LSPS2Request
impl Send for LSPS2Request
impl Sync for LSPS2Request
impl Unpin for LSPS2Request
impl UnwindSafe for LSPS2Request
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