pub enum ChangeCommand {
Show(ChangeShowArgs),
Describe(ChangeDescribeArgs),
Ready(ChangeReadyArgs),
Comments(ChangeCommentsArgs),
Reply(ChangeReplyArgs),
Standings(ChangeStandingsArgs),
Retarget(ChangeRetargetArgs),
Reopen(ChangeReopenArgs),
}Expand description
The onevcs change subcommands: a session’s own change request, after it exists.
The three that act on the change request itself take a session token and nothing that names one: the change request is the one open from the session’s branch into its base, so no caller ever names a URL. The two about its review feedback take a session token or a change request’s URL, because feedback is read and answered by callers on hosts that never published the change.
Variants§
Show(ChangeShowArgs)
Report the session’s change request as the host holds it.
Describe(ChangeDescribeArgs)
Replace the session’s change request’s description.
Ready(ChangeReadyArgs)
Mark the session’s change request ready for review.
Comments(ChangeCommentsArgs)
Read a change request’s review threads, review summaries and conversation comments — every one, or what changed since a marker.
Reply(ChangeReplyArgs)
Answer one review comment, in its thread where it has one.
Standings(ChangeStandingsArgs)
Read where a repository’s change requests stand — open, merged and into which branch, or closed — with each one’s base, head, draft state and required-check verdict, recording a merge into the root as a landing.
Retarget(ChangeRetargetArgs)
Move a change request onto another base, writing its description with it.
Reopen(ChangeReopenArgs)
Restore a closed change request’s deleted base and reopen it as the draft it was.
Trait Implementations§
Source§impl Clone for ChangeCommand
impl Clone for ChangeCommand
Source§impl Debug for ChangeCommand
impl Debug for ChangeCommand
impl Eq for ChangeCommand
Source§impl FromArgMatches for ChangeCommand
impl FromArgMatches for ChangeCommand
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<'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>
ArgMatches to self.Source§impl PartialEq for ChangeCommand
impl PartialEq for ChangeCommand
impl StructuralPartialEq for ChangeCommand
Source§impl Subcommand for ChangeCommand
impl Subcommand for ChangeCommand
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
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
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for ChangeCommand
impl RefUnwindSafe for ChangeCommand
impl Send for ChangeCommand
impl Sync for ChangeCommand
impl Unpin for ChangeCommand
impl UnsafeUnpin for ChangeCommand
impl UnwindSafe for ChangeCommand
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.