pub enum LSPS1Request {
GetInfo(GetInfoRequest),
CreateOrder(CreateOrderRequest),
GetOrder(GetOrderRequest),
}
Expand description
An enum that captures all the valid JSON-RPC requests in the LSPS1 protocol.
Variants§
GetInfo(GetInfoRequest)
A request to learn about the options supported by the LSP.
CreateOrder(CreateOrderRequest)
A request to create a channel order.
GetOrder(GetOrderRequest)
A request to query a previously created channel order.
Trait Implementations§
Source§impl Clone for LSPS1Request
impl Clone for LSPS1Request
Source§fn clone(&self) -> LSPS1Request
fn clone(&self) -> LSPS1Request
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 LSPS1Request
impl Debug for LSPS1Request
Source§impl PartialEq for LSPS1Request
impl PartialEq for LSPS1Request
impl Eq for LSPS1Request
impl StructuralPartialEq for LSPS1Request
Auto Trait Implementations§
impl Freeze for LSPS1Request
impl RefUnwindSafe for LSPS1Request
impl Send for LSPS1Request
impl Sync for LSPS1Request
impl Unpin for LSPS1Request
impl UnwindSafe for LSPS1Request
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