pub struct CustomerTierFilter {
pub id: Option<Box<IDComparator>>,
pub created_at: Option<Box<DateComparator>>,
pub updated_at: Option<Box<DateComparator>>,
pub display_name: Option<Box<StringComparator>>,
pub description: Option<Box<StringComparator>>,
pub position: Option<Box<NumberComparator>>,
pub color: Option<Box<StringComparator>>,
pub and: Option<Vec<Box<CustomerTierFilter>>>,
pub or: Option<Vec<Box<CustomerTierFilter>>>,
}Expand description
Customer tier 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.
display_name: Option<Box<StringComparator>>Comparator for the customer tier display name.
description: Option<Box<StringComparator>>Comparator for the customer tier description.
position: Option<Box<NumberComparator>>Comparator for the customer tier position.
color: Option<Box<StringComparator>>Comparator for the customer tier color.
and: Option<Vec<Box<CustomerTierFilter>>>Compound filters, all of which need to be matched by the customer tier.
or: Option<Vec<Box<CustomerTierFilter>>>Compound filters, one of which needs to be matched by the customer tier.
Trait Implementations§
Source§impl Clone for CustomerTierFilter
impl Clone for CustomerTierFilter
Source§fn clone(&self) -> CustomerTierFilter
fn clone(&self) -> CustomerTierFilter
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 CustomerTierFilter
impl Debug for CustomerTierFilter
Source§impl Default for CustomerTierFilter
impl Default for CustomerTierFilter
Source§fn default() -> CustomerTierFilter
fn default() -> CustomerTierFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomerTierFilter
impl<'de> Deserialize<'de> for CustomerTierFilter
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 CustomerTierFilter
impl RefUnwindSafe for CustomerTierFilter
impl Send for CustomerTierFilter
impl Sync for CustomerTierFilter
impl Unpin for CustomerTierFilter
impl UnwindSafe for CustomerTierFilter
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