pub enum TabPayload {
Show 14 variants
Files(Result<Vec<String>, String>),
Graph(Result<Vec<GraphLine>, String>),
Branches {
local: Result<Vec<BranchInfo>, String>,
remote: Result<Vec<BranchInfo>, String>,
},
Tags {
local: Result<Vec<BranchInfo>, String>,
remote: Result<Vec<BranchInfo>, String>,
},
Remotes(Result<Vec<RemoteInfo>, String>),
Stashes(Result<Vec<StashInfo>, String>),
Overview(Result<(Vec<CommitterStat>, bool), String>),
Worktrees(Result<Vec<WorktreeInfo>, String>),
Submodules(Result<Vec<SubmoduleInfo>, String>),
Reflog(Result<Vec<ReflogEntry>, String>),
Notice(String),
ForgeIssues(Result<Vec<ForgeIssue>, String>),
ForgePRs(Result<Vec<ForgePR>, String>),
PRComments {
pr_number: u32,
result: Result<Vec<ForgePRComment>, String>,
},
}Variants§
Files(Result<Vec<String>, String>)
Graph(Result<Vec<GraphLine>, String>)
Branches
Tags
Remotes(Result<Vec<RemoteInfo>, String>)
Stashes(Result<Vec<StashInfo>, String>)
Overview(Result<(Vec<CommitterStat>, bool), String>)
Worktrees(Result<Vec<WorktreeInfo>, String>)
Submodules(Result<Vec<SubmoduleInfo>, String>)
Reflog(Result<Vec<ReflogEntry>, String>)
Notice(String)
A non-fatal message for the status bar, sent alongside a tab payload (for example: git could not run the signature program).
ForgeIssues(Result<Vec<ForgeIssue>, String>)
ForgePRs(Result<Vec<ForgePR>, String>)
PRComments
Line comments of PR pr_number. Loads can finish out of order, so the
number says which PR a result belongs to.
Trait Implementations§
Source§impl Clone for TabPayload
impl Clone for TabPayload
Auto Trait Implementations§
impl Freeze for TabPayload
impl RefUnwindSafe for TabPayload
impl Send for TabPayload
impl Sync for TabPayload
impl Unpin for TabPayload
impl UnsafeUnpin for TabPayload
impl UnwindSafe for TabPayload
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