pub struct TransactionList {
pub data: Vec<Transaction>,
pub next_cursor: Option<String>,
}Expand description
A page of an organization’s ledger entries (newest first), with an opaque cursor.
JSON schema
{
"title": "TransactionList",
"description": "A page of an organization's ledger entries (newest
first), with an opaque cursor.",
"type": "object",
"required": [
"data",
"next_cursor"
],
"properties": {
"data": {
"description": "The ledger entries on this page, newest first.",
"type": "array",
"items": {
"$ref": "#/components/schemas/Transaction"
}
},
"next_cursor": {
"description": "Opaque cursor for the next page. Pass it as the
`cursor` query parameter; `null` when there are no more pages.",
"type": [
"string",
"null"
]
}
}
}Fields§
§data: Vec<Transaction>The ledger entries on this page, newest first.
next_cursor: Option<String>Opaque cursor for the next page. Pass it as the cursor query
parameter; null when there are no more pages.
Trait Implementations§
Source§impl Clone for TransactionList
impl Clone for TransactionList
Source§fn clone(&self) -> TransactionList
fn clone(&self) -> TransactionList
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 TransactionList
impl Debug for TransactionList
Source§impl<'de> Deserialize<'de> for TransactionList
impl<'de> Deserialize<'de> for TransactionList
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransactionList, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransactionList, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TransactionList
impl Serialize for TransactionList
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for TransactionList
impl RefUnwindSafe for TransactionList
impl Send for TransactionList
impl Sync for TransactionList
impl Unpin for TransactionList
impl UnsafeUnpin for TransactionList
impl UnwindSafe for TransactionList
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