pub struct DispatchActionIds {Show 64 fields
pub status: Option<CommandId>,
pub commit: Option<CommandId>,
pub amend: Option<CommandId>,
pub log: Option<CommandId>,
pub diff: Option<CommandId>,
pub branch: Option<CommandId>,
pub branch_checkout: Option<CommandId>,
pub branch_create: Option<CommandId>,
pub branch_checkout_rev: Option<CommandId>,
pub branch_create_no_checkout: Option<CommandId>,
pub branch_rename: Option<CommandId>,
pub branch_delete: Option<CommandId>,
pub remote: Option<CommandId>,
pub view_args: Option<CommandId>,
pub submodule: Option<CommandId>,
pub refs: Option<CommandId>,
pub clone: Option<CommandId>,
pub note_edit: Option<CommandId>,
pub note_remove: Option<CommandId>,
pub note_prune: Option<CommandId>,
pub note_merge: Option<CommandId>,
pub note_merge_commit: Option<CommandId>,
pub note_merge_abort: Option<CommandId>,
pub subtree_add: Option<CommandId>,
pub subtree_merge: Option<CommandId>,
pub subtree_pull: Option<CommandId>,
pub subtree_push: Option<CommandId>,
pub subtree_split: Option<CommandId>,
pub am_apply: Option<CommandId>,
pub am_continue: Option<CommandId>,
pub am_skip: Option<CommandId>,
pub am_abort: Option<CommandId>,
pub format_patch: Option<CommandId>,
pub cherries: Option<CommandId>,
pub bisect_start: Option<CommandId>,
pub bisect_good: Option<CommandId>,
pub bisect_bad: Option<CommandId>,
pub bisect_skip: Option<CommandId>,
pub bisect_reset: Option<CommandId>,
pub stash: Option<CommandId>,
pub stash_create: Option<CommandId>,
pub rebase: Option<CommandId>,
pub fetch: Option<CommandId>,
pub pull: Option<CommandId>,
pub push: Option<CommandId>,
pub stage_all: Option<CommandId>,
pub unstage_all: Option<CommandId>,
pub tag: Option<CommandId>,
pub gitignore: Option<CommandId>,
pub init: Option<CommandId>,
pub merge: Option<CommandId>,
pub apply_hunk: Option<CommandId>,
pub reverse_hunk: Option<CommandId>,
pub discard: Option<CommandId>,
pub cherry_pick: Option<CommandId>,
pub revert: Option<CommandId>,
pub reset_soft: Option<CommandId>,
pub reset_mixed: Option<CommandId>,
pub reset_hard: Option<CommandId>,
pub jump_staged: Option<CommandId>,
pub jump_unstaged: Option<CommandId>,
pub jump_untracked: Option<CommandId>,
pub jump_stashes: Option<CommandId>,
pub jump_commits: Option<CommandId>,
}Expand description
The action:magit-global-* CommandIds dispatch_transient’s
items fire, resolved once at install() time (all the names it
needs are registered earlier in the same call, by
register_action_commands) and captured by the
TransientSourceRegistry builder closure — the registry’s
builders take only a [TransientContext], so capture is how a
boot-time-resolved id reaches a spec built long after boot,
possibly many times (once per C-c g press).
Fields§
§status: Option<CommandId>§commit: Option<CommandId>§amend: Option<CommandId>§log: Option<CommandId>§diff: Option<CommandId>§branch: Option<CommandId>§branch_checkout: Option<CommandId>MG.29: the branch submenu’s own rows.
branch_create: Option<CommandId>§branch_checkout_rev: Option<CommandId>MG.32: the four rows that completed the submenu against magit’s
own magit-branch transient.
branch_create_no_checkout: Option<CommandId>§branch_rename: Option<CommandId>§branch_delete: Option<CommandId>§remote: Option<CommandId>MG.21d: M — remote management, magit’s own key.
view_args: Option<CommandId>MG.23k: D — re-run this view with different git arguments.
submodule: Option<CommandId>MG.21i: o — the submodule list, magit’s own key.
refs: Option<CommandId>MG.35: y — the refs buffer, magit’s own key.
clone: Option<CommandId>MG.36: C — clone a repository, magit’s own key.
note_edit: Option<CommandId>MG.37: the T notes submenu’s rows, on magit’s own keys.
note_remove: Option<CommandId>§note_prune: Option<CommandId>§note_merge: Option<CommandId>§note_merge_commit: Option<CommandId>Shown only while a notes merge is stopped on a conflict — see
[notes_transient].
note_merge_abort: Option<CommandId>§subtree_add: Option<CommandId>MG.38: the " subtree submenu’s rows.
subtree_merge: Option<CommandId>§subtree_pull: Option<CommandId>§subtree_push: Option<CommandId>§subtree_split: Option<CommandId>§am_apply: Option<CommandId>MG.39: w am / W format-patch, and the way out of a stopped
am.
am_continue: Option<CommandId>§am_skip: Option<CommandId>§am_abort: Option<CommandId>§format_patch: Option<CommandId>§cherries: Option<CommandId>MG.40: Y cherries.
bisect_start: Option<CommandId>MG.21g: B — bisect. Start is shown only when none is running;
the marks only when one is.
bisect_good: Option<CommandId>§bisect_bad: Option<CommandId>§bisect_skip: Option<CommandId>§bisect_reset: Option<CommandId>§stash: Option<CommandId>§stash_create: Option<CommandId>§rebase: Option<CommandId>§fetch: Option<CommandId>§pull: Option<CommandId>§push: Option<CommandId>§stage_all: Option<CommandId>MG.23b: magit’s S / U — repo-wide index operations.
unstage_all: Option<CommandId>§tag: Option<CommandId>MG.23c1: prompt-backed rows, on magit’s own keys.
gitignore: Option<CommandId>§init: Option<CommandId>MG.23c2.
merge: Option<CommandId>§apply_hunk: Option<CommandId>MG.23h: the section-acting rows, shown only inside a magit
buffer. discard is magit-status’s own x action, reused
rather than duplicated.
reverse_hunk: Option<CommandId>§discard: Option<CommandId>§cherry_pick: Option<CommandId>MG.23j: the commit operations, in magit’s ungated group. The same actions the chords fire — they ask for a commit when there is none under the cursor.
revert: Option<CommandId>§reset_soft: Option<CommandId>§reset_mixed: Option<CommandId>§reset_hard: Option<CommandId>§jump_staged: Option<CommandId>MG.23h: magit-status-jump’s rows, one per section we render.
jump_unstaged: Option<CommandId>§jump_untracked: Option<CommandId>§jump_stashes: Option<CommandId>§jump_commits: Option<CommandId>Trait Implementations§
Source§impl Clone for DispatchActionIds
impl Clone for DispatchActionIds
Source§fn clone(&self) -> DispatchActionIds
fn clone(&self) -> DispatchActionIds
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for DispatchActionIds
Source§impl Debug for DispatchActionIds
impl Debug for DispatchActionIds
Source§impl Default for DispatchActionIds
impl Default for DispatchActionIds
Source§fn default() -> DispatchActionIds
fn default() -> DispatchActionIds
Auto Trait Implementations§
impl Freeze for DispatchActionIds
impl RefUnwindSafe for DispatchActionIds
impl Send for DispatchActionIds
impl Sync for DispatchActionIds
impl Unpin for DispatchActionIds
impl UnsafeUnpin for DispatchActionIds
impl UnwindSafe for DispatchActionIds
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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