pub struct List<T> {
pub data: Vec<T>,
pub has_more: bool,
pub total_count: Option<u64>,
pub url: String,
}
Expand description
A single page of a cursor-paginated list of an object.
For more details, see https://stripe.com/docs/api/pagination
Fields§
§data: Vec<T>
A page of data.
has_more: bool
If true, making another request with our new url will yield more data.
total_count: Option<u64>
The total number of results.
url: String
The base endpoint we’re targeting.
Trait Implementations§
Source§impl<T: Deserialize> Deserialize for List<T>
impl<T: Deserialize> Deserialize for List<T>
Auto Trait Implementations§
impl<T> Freeze for List<T>
impl<T> RefUnwindSafe for List<T>where
T: RefUnwindSafe,
impl<T> Send for List<T>where
T: Send,
impl<T> Sync for List<T>where
T: Sync,
impl<T> Unpin for List<T>where
T: Unpin,
impl<T> UnwindSafe for List<T>where
T: UnwindSafe,
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