pub struct PaymentHistoryResponse {
pub data: Vec<PaymentRecord>,
pub meta: PaginatedMeta,
pub summary: PaymentHistorySummary,
}Expand description
Payment history response with data, pagination metadata, and summary
JSON schema
{
"description": "Payment history response with data, pagination metadata, and summary",
"type": "object",
"required": [
"data",
"meta",
"summary"
],
"properties": {
"data": {
"description": "List of payment records matching the query",
"type": "array",
"items": {
"$ref": "#/components/schemas/PaymentRecord"
}
},
"meta": {
"$ref": "#/components/schemas/PaginatedMeta"
},
"summary": {
"$ref": "#/components/schemas/PaymentHistorySummary"
}
},
"additionalProperties": false
}Fields§
§data: Vec<PaymentRecord>List of payment records matching the query
meta: PaginatedMeta§summary: PaymentHistorySummaryTrait Implementations§
Source§impl Clone for PaymentHistoryResponse
impl Clone for PaymentHistoryResponse
Source§fn clone(&self) -> PaymentHistoryResponse
fn clone(&self) -> PaymentHistoryResponse
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 PaymentHistoryResponse
impl Debug for PaymentHistoryResponse
Source§impl<'de> Deserialize<'de> for PaymentHistoryResponse
impl<'de> Deserialize<'de> for PaymentHistoryResponse
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 PaymentHistoryResponse
impl RefUnwindSafe for PaymentHistoryResponse
impl Send for PaymentHistoryResponse
impl Sync for PaymentHistoryResponse
impl Unpin for PaymentHistoryResponse
impl UnsafeUnpin for PaymentHistoryResponse
impl UnwindSafe for PaymentHistoryResponse
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