Struct square_api_client::models::InvoiceFilter
source · [−]Expand description
Describes query filters to apply.
Fields
location_ids: Vec<String>
Limits the search to the specified locations. A location is required. In the current implementation, only one location can be specified.
Min Length: 1, Max Length: 1
customer_ids: Option<Vec<String>>
Limits the search to the specified customers, within the specified locations. Specifying a customer is optional. In the current implementation, a maximum of one customer can be specified.
Min Length: 1, Max Length: 1
Trait Implementations
sourceimpl Clone for InvoiceFilter
impl Clone for InvoiceFilter
sourcefn clone(&self) -> InvoiceFilter
fn clone(&self) -> InvoiceFilter
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 InvoiceFilter
impl Debug for InvoiceFilter
sourceimpl Default for InvoiceFilter
impl Default for InvoiceFilter
sourcefn default() -> InvoiceFilter
fn default() -> InvoiceFilter
Returns the “default value” for a type. Read more
sourceimpl PartialEq<InvoiceFilter> for InvoiceFilter
impl PartialEq<InvoiceFilter> for InvoiceFilter
sourcefn eq(&self, other: &InvoiceFilter) -> bool
fn eq(&self, other: &InvoiceFilter) -> bool
sourceimpl Serialize for InvoiceFilter
impl Serialize for InvoiceFilter
impl Eq for InvoiceFilter
impl StructuralEq for InvoiceFilter
impl StructuralPartialEq for InvoiceFilter
Auto Trait Implementations
impl RefUnwindSafe for InvoiceFilter
impl Send for InvoiceFilter
impl Sync for InvoiceFilter
impl Unpin for InvoiceFilter
impl UnwindSafe for InvoiceFilter
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.