#[non_exhaustive]pub struct ProjectFilter {
pub and: Option<Vec<ProjectFilter>>,
pub or: Option<Vec<ProjectFilter>>,
pub id: Option<IdComparator>,
pub name: Option<StringComparator>,
pub state: Option<StringComparator>,
pub health: Option<StringComparator>,
pub priority: Option<NullableNumberComparator>,
pub start_date: Option<DateComparator>,
pub target_date: Option<DateComparator>,
pub created_at: Option<DateComparator>,
pub updated_at: Option<DateComparator>,
pub lead: Option<UserFilter>,
}Expand description
Filter for projects (ProjectFilter input).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.and: Option<Vec<ProjectFilter>>All sub-filters must match.
or: Option<Vec<ProjectFilter>>At least one sub-filter must match.
id: Option<IdComparator>Filter by project ID.
name: Option<StringComparator>Filter by project name.
state: Option<StringComparator>Filter by project state.
health: Option<StringComparator>Filter by project health ("onTrack", "atRisk", "offTrack").
priority: Option<NullableNumberComparator>Filter by priority (nullable).
start_date: Option<DateComparator>Filter by start date.
target_date: Option<DateComparator>Filter by target date.
created_at: Option<DateComparator>Filter by creation time.
updated_at: Option<DateComparator>Filter by last update time.
lead: Option<UserFilter>Filter by project lead.
Implementations§
Source§impl ProjectFilter
impl ProjectFilter
Sourcepub fn builder() -> ProjectFilterBuilder
pub fn builder() -> ProjectFilterBuilder
Create an instance of ProjectFilter using the builder syntax
Trait Implementations§
Source§impl Clone for ProjectFilter
impl Clone for ProjectFilter
Source§fn clone(&self) -> ProjectFilter
fn clone(&self) -> ProjectFilter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProjectFilter
impl Debug for ProjectFilter
Source§impl Default for ProjectFilter
impl Default for ProjectFilter
Source§fn default() -> ProjectFilter
fn default() -> ProjectFilter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProjectFilter
impl RefUnwindSafe for ProjectFilter
impl Send for ProjectFilter
impl Sync for ProjectFilter
impl Unpin for ProjectFilter
impl UnsafeUnpin for ProjectFilter
impl UnwindSafe for ProjectFilter
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