pub struct CustomerNeedFilter {
pub id: Option<Box<IDComparator>>,
pub created_at: Option<Box<DateComparator>>,
pub updated_at: Option<Box<DateComparator>>,
pub priority: Option<Box<NumberComparator>>,
pub project: Option<Box<NullableProjectFilter>>,
pub issue: Option<Box<NullableIssueFilter>>,
pub comment: Option<Box<NullableCommentFilter>>,
pub customer: Option<Box<NullableCustomerFilter>>,
pub and: Option<Vec<Box<CustomerNeedFilter>>>,
pub or: Option<Vec<Box<CustomerNeedFilter>>>,
}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.
priority: Option<Box<NumberComparator>>Comparator for the customer need priority.
project: Option<Box<NullableProjectFilter>>Filters that the need’s project must satisfy.
issue: Option<Box<NullableIssueFilter>>Filters that the need’s issue must satisfy.
comment: Option<Box<NullableCommentFilter>>Filters that the need’s comment must satisfy.
customer: Option<Box<NullableCustomerFilter>>Filters that the need’s customer must satisfy.
and: Option<Vec<Box<CustomerNeedFilter>>>Compound filters, all of which need to be matched by the customer need.
or: Option<Vec<Box<CustomerNeedFilter>>>Compound filters, one of which need to be matched by the customer need.
Trait Implementations§
Source§impl Clone for CustomerNeedFilter
impl Clone for CustomerNeedFilter
Source§fn clone(&self) -> CustomerNeedFilter
fn clone(&self) -> CustomerNeedFilter
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 CustomerNeedFilter
impl Debug for CustomerNeedFilter
Source§impl Default for CustomerNeedFilter
impl Default for CustomerNeedFilter
Source§fn default() -> CustomerNeedFilter
fn default() -> CustomerNeedFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomerNeedFilter
impl<'de> Deserialize<'de> for CustomerNeedFilter
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 CustomerNeedFilter
impl RefUnwindSafe for CustomerNeedFilter
impl Send for CustomerNeedFilter
impl Sync for CustomerNeedFilter
impl Unpin for CustomerNeedFilter
impl UnwindSafe for CustomerNeedFilter
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