pub struct InvoiceFilter {
pub location_ids: Vec<String>,
pub customer_ids: Option<Vec<String>>,
}
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§
Source§impl Clone for InvoiceFilter
impl Clone for InvoiceFilter
Source§fn clone(&self) -> InvoiceFilter
fn clone(&self) -> InvoiceFilter
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InvoiceFilter
impl Debug for InvoiceFilter
Source§impl Default for InvoiceFilter
impl Default for InvoiceFilter
Source§fn default() -> InvoiceFilter
fn default() -> InvoiceFilter
Returns the “default value” for a type. Read more
Source§impl PartialEq for InvoiceFilter
impl PartialEq for InvoiceFilter
Source§impl Serialize for InvoiceFilter
impl Serialize for InvoiceFilter
impl Eq for InvoiceFilter
impl StructuralPartialEq for InvoiceFilter
Auto Trait Implementations§
impl Freeze for InvoiceFilter
impl RefUnwindSafe for InvoiceFilter
impl Send for InvoiceFilter
impl Sync for InvoiceFilter
impl Unpin for InvoiceFilter
impl UnwindSafe for InvoiceFilter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.