pub struct NullableCustomerFilter {Show 16 fields
pub id: Option<Box<IDComparator>>,
pub created_at: Option<Box<DateComparator>>,
pub updated_at: Option<Box<DateComparator>>,
pub name: Option<Box<StringComparator>>,
pub slack_channel_id: Option<Box<StringComparator>>,
pub domains: Option<Box<StringArrayComparator>>,
pub external_ids: Option<Box<StringArrayComparator>>,
pub owner: Option<Box<NullableUserFilter>>,
pub needs: Option<Box<CustomerNeedCollectionFilter>>,
pub revenue: Option<Box<NumberComparator>>,
pub size: Option<Box<NumberComparator>>,
pub status: Option<Box<CustomerStatusFilter>>,
pub tier: Option<Box<CustomerTierFilter>>,
pub null: Option<bool>,
pub and: Option<Vec<Box<NullableCustomerFilter>>>,
pub or: Option<Vec<Box<NullableCustomerFilter>>>,
}Expand description
Customer 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 name.
slack_channel_id: Option<Box<StringComparator>>Comparator for the customer slack channel ID.
domains: Option<Box<StringArrayComparator>>Comparator for the customer’s domains.
external_ids: Option<Box<StringArrayComparator>>Comparator for the customer’s external IDs.
owner: Option<Box<NullableUserFilter>>Filters that the customer owner must satisfy.
needs: Option<Box<CustomerNeedCollectionFilter>>Filters that the customer’s needs must satisfy.
revenue: Option<Box<NumberComparator>>Comparator for the customer generated revenue.
size: Option<Box<NumberComparator>>Comparator for the customer size.
status: Option<Box<CustomerStatusFilter>>Filters that the customer’s status must satisfy.
tier: Option<Box<CustomerTierFilter>>Filters that the customer’s tier must satisfy.
null: Option<bool>Filter based on the existence of the relation.
and: Option<Vec<Box<NullableCustomerFilter>>>Compound filters, all of which need to be matched by the customer.
or: Option<Vec<Box<NullableCustomerFilter>>>Compound filters, one of which need to be matched by the customer.
Trait Implementations§
Source§impl Clone for NullableCustomerFilter
impl Clone for NullableCustomerFilter
Source§fn clone(&self) -> NullableCustomerFilter
fn clone(&self) -> NullableCustomerFilter
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 NullableCustomerFilter
impl Debug for NullableCustomerFilter
Source§impl Default for NullableCustomerFilter
impl Default for NullableCustomerFilter
Source§fn default() -> NullableCustomerFilter
fn default() -> NullableCustomerFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NullableCustomerFilter
impl<'de> Deserialize<'de> for NullableCustomerFilter
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 NullableCustomerFilter
impl RefUnwindSafe for NullableCustomerFilter
impl Send for NullableCustomerFilter
impl Sync for NullableCustomerFilter
impl Unpin for NullableCustomerFilter
impl UnwindSafe for NullableCustomerFilter
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