pub struct ListFilter {
pub roots_only: bool,
pub status: Vec<String>,
pub sprint: Option<String>,
pub labels: Vec<String>,
pub label_match: LabelMatch,
pub search: Option<SearchFilter>,
}Expand description
Filters for list_items. Empty fields do not filter their corresponding property.
Multiple status specifications use OR (a PBI matches any selected status); label specifications
use LabelMatch::Any by default and can use LabelMatch::All; roots-only and other filters
are combined with AND. The roots-only condition uses the item’s persisted parent link even
when that parent is excluded by another filter.
Fields§
§roots_only: boolInclude only PBIs whose persisted parent link is unset.
status: Vec<String>Exact workflow statuses to match. An empty list includes every status.
sprint: Option<String>Exact assigned sprint ID to match.
labels: Vec<String>Labels to match. An empty list includes every label set.
label_match: LabelMatchMatching mode for Self::labels.
search: Option<SearchFilter>Search the item’s fields and assigned sprint metadata.
Trait Implementations§
Source§impl Clone for ListFilter
impl Clone for ListFilter
Source§fn clone(&self) -> ListFilter
fn clone(&self) -> ListFilter
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 ListFilter
impl Debug for ListFilter
Source§impl Default for ListFilter
impl Default for ListFilter
Source§fn default() -> ListFilter
fn default() -> ListFilter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListFilter
impl RefUnwindSafe for ListFilter
impl Send for ListFilter
impl Sync for ListFilter
impl Unpin for ListFilter
impl UnsafeUnpin for ListFilter
impl UnwindSafe for ListFilter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more