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