Struct stripe::SearchList
source · pub struct SearchList<T> {
pub object: String,
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§
§object: String
§url: String
§has_more: bool
§data: Vec<T>
§next_page: Option<String>
§total_count: Option<u64>
Implementations§
source§impl<T> SearchList<T>
impl<T> SearchList<T>
pub fn paginate<P>(self, params: P) -> ListPaginator<SearchList<T>, P>
Trait Implementations§
source§impl<T: Clone> Clone for SearchList<T>
impl<T: Clone> Clone for SearchList<T>
source§fn clone(&self) -> SearchList<T>
fn clone(&self) -> SearchList<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug> Debug for SearchList<T>
impl<T: Debug> Debug for SearchList<T>
source§impl<T> Default for SearchList<T>
impl<T> Default for SearchList<T>
source§impl<'de, T> Deserialize<'de> for SearchList<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for SearchList<T>where
T: Deserialize<'de>,
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<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