pub struct CustomViewFilter {
pub id: Option<Box<IDComparator>>,
pub created_at: Option<Box<DateComparator>>,
pub updated_at: Option<Box<DateComparator>>,
pub name: Option<Box<StringComparator>>,
pub model_name: Option<Box<StringComparator>>,
pub team: Option<Box<NullableTeamFilter>>,
pub creator: Option<Box<UserFilter>>,
pub shared: Option<Box<BooleanComparator>>,
pub has_facet: Option<bool>,
pub and: Option<Vec<Box<CustomViewFilter>>>,
pub or: Option<Vec<Box<CustomViewFilter>>>,
}Expand description
Custom view 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 custom view name.
model_name: Option<Box<StringComparator>>Comparator for the custom view model name.
team: Option<Box<NullableTeamFilter>>Filters that the custom view’s team must satisfy.
creator: Option<Box<UserFilter>>Filters that the custom view creator must satisfy.
Comparator for whether the custom view is shared.
has_facet: Option<bool>INTERNAL Filter based on whether the custom view has a facet.
and: Option<Vec<Box<CustomViewFilter>>>Compound filters, all of which need to be matched by the custom view.
or: Option<Vec<Box<CustomViewFilter>>>Compound filters, one of which need to be matched by the custom view.
Trait Implementations§
Source§impl Clone for CustomViewFilter
impl Clone for CustomViewFilter
Source§fn clone(&self) -> CustomViewFilter
fn clone(&self) -> CustomViewFilter
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 CustomViewFilter
impl Debug for CustomViewFilter
Source§impl Default for CustomViewFilter
impl Default for CustomViewFilter
Source§fn default() -> CustomViewFilter
fn default() -> CustomViewFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomViewFilter
impl<'de> Deserialize<'de> for CustomViewFilter
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 CustomViewFilter
impl RefUnwindSafe for CustomViewFilter
impl Send for CustomViewFilter
impl Sync for CustomViewFilter
impl Unpin for CustomViewFilter
impl UnwindSafe for CustomViewFilter
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