pub struct CreateIncomingPaymentResponse {
pub request_lookup_id: PaymentIdentifier,
pub request: String,
pub expiry: Option<u64>,
}
Expand description
Create incoming payment response
Fields§
§request_lookup_id: PaymentIdentifier
Id that is used to look up the payment from the ln backend
request: String
Payment request
expiry: Option<u64>
Unix Expiry of Invoice
Trait Implementations§
Source§impl Clone for CreateIncomingPaymentResponse
impl Clone for CreateIncomingPaymentResponse
Source§fn clone(&self) -> CreateIncomingPaymentResponse
fn clone(&self) -> CreateIncomingPaymentResponse
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<'de> Deserialize<'de> for CreateIncomingPaymentResponse
impl<'de> Deserialize<'de> for CreateIncomingPaymentResponse
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 Hash for CreateIncomingPaymentResponse
impl Hash for CreateIncomingPaymentResponse
Source§impl PartialEq for CreateIncomingPaymentResponse
impl PartialEq for CreateIncomingPaymentResponse
Source§fn eq(&self, other: &CreateIncomingPaymentResponse) -> bool
fn eq(&self, other: &CreateIncomingPaymentResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for CreateIncomingPaymentResponse
impl StructuralPartialEq for CreateIncomingPaymentResponse
Auto Trait Implementations§
impl Freeze for CreateIncomingPaymentResponse
impl RefUnwindSafe for CreateIncomingPaymentResponse
impl Send for CreateIncomingPaymentResponse
impl Sync for CreateIncomingPaymentResponse
impl Unpin for CreateIncomingPaymentResponse
impl UnwindSafe for CreateIncomingPaymentResponse
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