pub struct BoardQuery {
pub roots_only: bool,
pub sprint: Option<String>,
pub labels: Vec<String>,
pub label_match: LabelMatch,
pub statuses: Vec<String>,
pub sort: Option<SortKey>,
pub reverse: bool,
pub search: Option<SearchFilter>,
}Expand description
Filtering, scope, and sorting options for board. The default includes all PBIs and columns.
Fields§
§roots_only: boolInclude only PBIs whose persisted parent link is unset.
sprint: Option<String>Sprint scope. When set, include only PBIs assigned to this sprint.
labels: Vec<String>Labels to match. An empty list does not filter by label.
label_match: LabelMatchMatching mode for Self::labels.
statuses: Vec<String>Columns to display. An empty list includes all columns. Every supplied name must exist in
config.toml; otherwise return Error::UnknownStatus.
sort: Option<SortKey>Sort key within each column. None uses done_at descending order for the completion
column and rank ascending order elsewhere. Some applies the key to every column.
reverse: boolReverse the selected sort key; valid only when sort is Some.
search: Option<SearchFilter>Search the item’s fields and assigned sprint metadata.
Trait Implementations§
Source§impl Clone for BoardQuery
impl Clone for BoardQuery
Source§fn clone(&self) -> BoardQuery
fn clone(&self) -> BoardQuery
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 BoardQuery
impl Debug for BoardQuery
Source§impl Default for BoardQuery
impl Default for BoardQuery
Source§fn default() -> BoardQuery
fn default() -> BoardQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BoardQuery
impl RefUnwindSafe for BoardQuery
impl Send for BoardQuery
impl Sync for BoardQuery
impl Unpin for BoardQuery
impl UnsafeUnpin for BoardQuery
impl UnwindSafe for BoardQuery
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