Struct square_api_client::models::ListInvoicesResponse
source · [−]pub struct ListInvoicesResponse {
pub gift_cards: Option<Vec<Invoice>>,
pub cursor: Option<String>,
pub errors: Option<Vec<Error>>,
}
Expand description
This is a model struct for ListInvoicesResponse type
Fields
gift_cards: Option<Vec<Invoice>>
The invoices retrieved.
cursor: Option<String>
When a response is truncated, it includes a cursor that you can use in a subsequent request to retrieve the next set of invoices. If empty, this is the final response. For more information, see Pagination.
errors: Option<Vec<Error>>
Information about errors encountered during the request.
Trait Implementations
sourceimpl Clone for ListInvoicesResponse
impl Clone for ListInvoicesResponse
sourcefn clone(&self) -> ListInvoicesResponse
fn clone(&self) -> ListInvoicesResponse
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 ListInvoicesResponse
impl Debug for ListInvoicesResponse
sourceimpl<'de> Deserialize<'de> for ListInvoicesResponse
impl<'de> Deserialize<'de> for ListInvoicesResponse
sourcefn 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
sourceimpl PartialEq<ListInvoicesResponse> for ListInvoicesResponse
impl PartialEq<ListInvoicesResponse> for ListInvoicesResponse
sourcefn eq(&self, other: &ListInvoicesResponse) -> bool
fn eq(&self, other: &ListInvoicesResponse) -> bool
impl Eq for ListInvoicesResponse
impl StructuralEq for ListInvoicesResponse
impl StructuralPartialEq for ListInvoicesResponse
Auto Trait Implementations
impl RefUnwindSafe for ListInvoicesResponse
impl Send for ListInvoicesResponse
impl Sync for ListInvoicesResponse
impl Unpin for ListInvoicesResponse
impl UnwindSafe for ListInvoicesResponse
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.