pub struct ViewPlanArgs {
pub filter: Option<String>,
pub sort: Option<String>,
pub group: Option<String>,
pub hide_columns: Option<String>,
pub show_mismatch: Option<bool>,
}Expand description
The plan-shaping flags shared by create, update, and status.
The grammar is the existing one: --filter is the token query
tix list --filter accepts, --sort/--group are that grammar’s control
tokens, and the visibility pair mirrors the board’s hidden_columns /
show_mismatch. Nothing here parses a second query language (C-004).
Fields§
§filter: Option<String>Existing token query (status:todo, label:urgent, category:done, …)
sort: Option<String>Sort key (created, due, start, reviewer, cycle, milestone,
status, priority)
group: Option<String>Group key (cycle | milestone)
hide_columns: Option<String>Board columns to hide when the view is applied (comma-separated)
Giving this or --show-mismatch makes visibility an absolute
snapshot; omitting both means the view inherits the live board’s
visibility.
show_mismatch: Option<bool>Show the computed “Mismatched” column when applied (true | false)
Implementations§
Trait Implementations§
Source§impl Args for ViewPlanArgs
impl Args for ViewPlanArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for ViewPlanArgs
impl Clone for ViewPlanArgs
Source§impl Debug for ViewPlanArgs
impl Debug for ViewPlanArgs
impl Eq for ViewPlanArgs
Source§impl FromArgMatches for ViewPlanArgs
impl FromArgMatches for ViewPlanArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl PartialEq for ViewPlanArgs
impl PartialEq for ViewPlanArgs
impl StructuralPartialEq for ViewPlanArgs
Auto Trait Implementations§
impl Freeze for ViewPlanArgs
impl RefUnwindSafe for ViewPlanArgs
impl Send for ViewPlanArgs
impl Sync for ViewPlanArgs
impl Unpin for ViewPlanArgs
impl UnsafeUnpin for ViewPlanArgs
impl UnwindSafe for ViewPlanArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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> ⓘ
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> ⓘ
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