Struct square_api_client::models::ListInvoicesParameters
source · [−]pub struct ListInvoicesParameters {
pub location_id: String,
pub cursor: Option<String>,
pub limit: Option<i32>,
}
Expand description
This is a model struct for ListInvoicesParameters (query parameters)
Fields
location_id: String
The ID of the location for which to list 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.
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.
Implementations
sourceimpl ListInvoicesParameters
impl ListInvoicesParameters
pub fn to_query_string(&self) -> String
Trait Implementations
sourceimpl Clone for ListInvoicesParameters
impl Clone for ListInvoicesParameters
sourcefn clone(&self) -> ListInvoicesParameters
fn clone(&self) -> ListInvoicesParameters
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 ListInvoicesParameters
impl Debug for ListInvoicesParameters
sourceimpl Default for ListInvoicesParameters
impl Default for ListInvoicesParameters
sourcefn default() -> ListInvoicesParameters
fn default() -> ListInvoicesParameters
Returns the “default value” for a type. Read more
sourceimpl From<ListInvoicesParameters> for String
impl From<ListInvoicesParameters> for String
sourcefn from(list_invoices_parameters: ListInvoicesParameters) -> Self
fn from(list_invoices_parameters: ListInvoicesParameters) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for ListInvoicesParameters
impl Send for ListInvoicesParameters
impl Sync for ListInvoicesParameters
impl Unpin for ListInvoicesParameters
impl UnwindSafe for ListInvoicesParameters
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