pub struct CustomerStatusFilter {
pub id: Option<Box<IDComparator>>,
pub created_at: Option<Box<DateComparator>>,
pub updated_at: Option<Box<DateComparator>>,
pub name: Option<Box<StringComparator>>,
pub description: Option<Box<StringComparator>>,
pub position: Option<Box<NumberComparator>>,
pub type: Option<Box<StringComparator>>,
pub color: Option<Box<StringComparator>>,
pub and: Option<Vec<Box<CustomerStatusFilter>>>,
pub or: Option<Vec<Box<CustomerStatusFilter>>>,
}Expand description
Customer status filtering options.
Fields§
§id: Option<Box<IDComparator>>Comparator for the identifier.
created_at: Option<Box<DateComparator>>Comparator for the created at date.
updated_at: Option<Box<DateComparator>>Comparator for the updated at date.
name: Option<Box<StringComparator>>Comparator for the customer status name.
description: Option<Box<StringComparator>>Comparator for the customer status description.
position: Option<Box<NumberComparator>>Comparator for the customer status position.
type: Option<Box<StringComparator>>Comparator for the customer status type.
color: Option<Box<StringComparator>>Comparator for the customer status color.
and: Option<Vec<Box<CustomerStatusFilter>>>Compound filters, all of which need to be matched by the customer status.
or: Option<Vec<Box<CustomerStatusFilter>>>Compound filters, one of which needs to be matched by the customer status.
Trait Implementations§
Source§impl Clone for CustomerStatusFilter
impl Clone for CustomerStatusFilter
Source§fn clone(&self) -> CustomerStatusFilter
fn clone(&self) -> CustomerStatusFilter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CustomerStatusFilter
impl Debug for CustomerStatusFilter
Source§impl Default for CustomerStatusFilter
impl Default for CustomerStatusFilter
Source§fn default() -> CustomerStatusFilter
fn default() -> CustomerStatusFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomerStatusFilter
impl<'de> Deserialize<'de> for CustomerStatusFilter
Source§fn 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
Auto Trait Implementations§
impl Freeze for CustomerStatusFilter
impl RefUnwindSafe for CustomerStatusFilter
impl Send for CustomerStatusFilter
impl Sync for CustomerStatusFilter
impl Unpin for CustomerStatusFilter
impl UnwindSafe for CustomerStatusFilter
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