pub struct LSPS1CreateOrderResponse {
pub order_id: LSPS1OrderId,
pub order: LSPS1OrderParams,
pub created_at: LSPSDateTime,
pub order_state: LSPS1OrderState,
pub payment: LSPS1PaymentInfo,
pub channel: Option<LSPS1ChannelInfo>,
}Expand description
A response to a LSPS1CreateOrderRequest.
Fields§
§order_id: LSPS1OrderIdThe id of the channel order.
order: LSPS1OrderParamsThe parameters of channel order.
created_at: LSPSDateTimeThe datetime when the order was created
order_state: LSPS1OrderStateThe current state of the order.
payment: LSPS1PaymentInfoContains details about how to pay for the order.
channel: Option<LSPS1ChannelInfo>Contains information about the channel state.
Trait Implementations§
Source§impl Clone for LSPS1CreateOrderResponse
impl Clone for LSPS1CreateOrderResponse
Source§fn clone(&self) -> LSPS1CreateOrderResponse
fn clone(&self) -> LSPS1CreateOrderResponse
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 LSPS1CreateOrderResponse
impl Debug for LSPS1CreateOrderResponse
Source§impl<'de> Deserialize<'de> for LSPS1CreateOrderResponse
impl<'de> Deserialize<'de> for LSPS1CreateOrderResponse
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
Source§impl PartialEq for LSPS1CreateOrderResponse
impl PartialEq for LSPS1CreateOrderResponse
Source§impl Serialize for LSPS1CreateOrderResponse
impl Serialize for LSPS1CreateOrderResponse
impl Eq for LSPS1CreateOrderResponse
impl StructuralPartialEq for LSPS1CreateOrderResponse
Auto Trait Implementations§
impl Freeze for LSPS1CreateOrderResponse
impl RefUnwindSafe for LSPS1CreateOrderResponse
impl Send for LSPS1CreateOrderResponse
impl Sync for LSPS1CreateOrderResponse
impl Unpin for LSPS1CreateOrderResponse
impl UnwindSafe for LSPS1CreateOrderResponse
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