Struct square_api_client::models::SearchInvoicesRequest
source · [−]pub struct SearchInvoicesRequest {
pub query: InvoiceQuery,
pub limit: Option<i32>,
pub cursor: Option<String>,
}
Expand description
This is a model struct for SearchInvoicesRequest type.
Fields
query: InvoiceQuery
Describes the query criteria for searching invoices.
limit: Option<i32>
The maximum number of invoices to return (200 is the maximum limit
). If not provided, the
server uses a default limit of 100 invoices.
cursor: Option<String>
A pagination cursor returned by a previous call to this endpoint. Provide this cursor to retrieve the next set of results for your original query.
For more information, see Pagination.
Trait Implementations
sourceimpl Clone for SearchInvoicesRequest
impl Clone for SearchInvoicesRequest
sourcefn clone(&self) -> SearchInvoicesRequest
fn clone(&self) -> SearchInvoicesRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SearchInvoicesRequest
impl Debug for SearchInvoicesRequest
sourceimpl Default for SearchInvoicesRequest
impl Default for SearchInvoicesRequest
sourcefn default() -> SearchInvoicesRequest
fn default() -> SearchInvoicesRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SearchInvoicesRequest> for SearchInvoicesRequest
impl PartialEq<SearchInvoicesRequest> for SearchInvoicesRequest
sourcefn eq(&self, other: &SearchInvoicesRequest) -> bool
fn eq(&self, other: &SearchInvoicesRequest) -> bool
sourceimpl Serialize for SearchInvoicesRequest
impl Serialize for SearchInvoicesRequest
impl Eq for SearchInvoicesRequest
impl StructuralEq for SearchInvoicesRequest
impl StructuralPartialEq for SearchInvoicesRequest
Auto Trait Implementations
impl RefUnwindSafe for SearchInvoicesRequest
impl Send for SearchInvoicesRequest
impl Sync for SearchInvoicesRequest
impl Unpin for SearchInvoicesRequest
impl UnwindSafe for SearchInvoicesRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.