pub enum CardCommand {
Show 15 variants
Count(CountArgs),
Copy(CopyArgs),
Bulk(BulkArgs),
Label(LabelArgs),
Member(MembershipArgs),
Assignee(MembershipArgs),
List(ListArgs),
Get(GetArgs),
SetCustomField(SetCustomFieldArgs),
FindByCustomField(FindByCustomFieldArgs),
Create(Box<CreateArgs>),
Update(Box<UpdateArgs>),
Archive(ArchiveArgs),
Restore(RestoreArgs),
Delete(DeleteArgs),
}Variants§
Count(CountArgs)
Count active cards on a board or in a list.
Copy(CopyArgs)
Copy a card using Wekan’s native copy operation.
Bulk(BulkArgs)
Create, delete, or merge labels on up to 500 cards per request.
Label(LabelArgs)
List the label IDs stored on a card.
Member(MembershipArgs)
List or merge individual card members.
Assignee(MembershipArgs)
List or merge individual card assignees.
List(ListArgs)
List active cards in a board list or swimlane.
Get(GetArgs)
Show a card by ID, optionally restricted to a board and list.
SetCustomField(SetCustomFieldArgs)
Assign an existing custom-field entry on an active card.
FindByCustomField(FindByCustomFieldArgs)
Find active cards using Wekan’s string custom-field query.
Create(Box<CreateArgs>)
Create a card in a board list.
Update(Box<UpdateArgs>)
Update one or more editable card fields.
Archive(ArchiveArgs)
Archive an active card and its child cards.
Restore(RestoreArgs)
Restore an archived card and its child cards.
Delete(DeleteArgs)
Permanently delete a card and its child resources.
Trait Implementations§
Source§impl Debug for CardCommand
impl Debug for CardCommand
Source§impl FromArgMatches for CardCommand
impl FromArgMatches for CardCommand
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>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for CardCommand
impl Subcommand for CardCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for CardCommand
impl RefUnwindSafe for CardCommand
impl Send for CardCommand
impl Sync for CardCommand
impl Unpin for CardCommand
impl UnsafeUnpin for CardCommand
impl UnwindSafe for CardCommand
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