pub struct PaymentRequestResponse {
pub request_id: String,
pub status: String,
pub note: Option<String>,
pub amount_paid: Option<u64>,
}Expand description
Response to a payment request, sent to the requester’s
payment_request_responses inbox.
Fields§
§request_id: String§status: String§note: Option<String>§amount_paid: Option<u64>Trait Implementations§
Source§impl Clone for PaymentRequestResponse
impl Clone for PaymentRequestResponse
Source§fn clone(&self) -> PaymentRequestResponse
fn clone(&self) -> PaymentRequestResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PaymentRequestResponse
impl Debug for PaymentRequestResponse
Source§impl<'de> Deserialize<'de> for PaymentRequestResponse
impl<'de> Deserialize<'de> for PaymentRequestResponse
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 PaymentRequestResponse
impl RefUnwindSafe for PaymentRequestResponse
impl Send for PaymentRequestResponse
impl Sync for PaymentRequestResponse
impl Unpin for PaymentRequestResponse
impl UnsafeUnpin for PaymentRequestResponse
impl UnwindSafe for PaymentRequestResponse
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