pub enum IssueAction {
Show 26 variants
OpenDetail,
EditInEditor,
ViewIssue,
OpenAgent,
CloneIssue,
OpenMentions,
RelatedPicker,
FollowRelated,
MoveTo {
column: String,
},
Comment,
AttachAsset,
NewRelationship,
Relationships,
EditRelationship {
id: String,
},
RemoveRelationship {
id: String,
},
SetParent,
RecordHealth,
AddTimeEntry,
Archive,
Restore,
Delete,
Mark {
on: bool,
},
Bulk {
action: BatchAction,
},
ClearMarks,
Triage {
decision: DecisionKind,
},
RefreshBoard,
}Expand description
What a menu entry runs.
Every variant is an identity: the App’s one dispatcher turns it into the
same method a key press calls. Parameterised variants (MoveTo, Mark,
Triage) carry the target so the menu can name it.
Variants§
OpenDetail
EditInEditor
ViewIssue
OpenAgent
CloneIssue
OpenMentions
RelatedPicker
FollowRelated
MoveTo
Comment
AttachAsset
NewRelationship
Relationships
EditRelationship
RemoveRelationship
SetParent
RecordHealth
AddTimeEntry
Archive
Restore
Delete
Mark
Bulk
Fields
§
action: BatchActionClearMarks
Triage
Fields
§
decision: DecisionKindRefreshBoard
Trait Implementations§
Source§impl Clone for IssueAction
impl Clone for IssueAction
Source§impl Debug for IssueAction
impl Debug for IssueAction
impl Eq for IssueAction
Source§impl PartialEq for IssueAction
impl PartialEq for IssueAction
impl StructuralPartialEq for IssueAction
Auto Trait Implementations§
impl Freeze for IssueAction
impl RefUnwindSafe for IssueAction
impl Send for IssueAction
impl Sync for IssueAction
impl Unpin for IssueAction
impl UnsafeUnpin for IssueAction
impl UnwindSafe for IssueAction
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<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
Compare self to
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> ⓘ
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