pub struct Handoff {Show 18 fields
pub created_at: String,
pub worktree: String,
pub branch: Option<String>,
pub head: Option<String>,
pub head_subject: Option<String>,
pub operation: Option<String>,
pub upstream: Option<String>,
pub ahead: Option<u32>,
pub behind: Option<u32>,
pub changes: Vec<Change>,
pub untracked: Vec<String>,
pub diff_sha256: Option<String>,
pub pr: Option<Pr>,
pub checks: Vec<CheckRun>,
pub processes: Vec<Process>,
pub jobs: Vec<Job>,
pub daemons: Vec<Daemon>,
pub notes: Vec<String>,
}Fields§
§created_at: String§worktree: String§branch: Option<String>§head: Option<String>The full SHA; absent on an unborn branch.
head_subject: Option<String>§operation: Option<String>merge, rebase, am, cherry-pick, revert or bisect.
upstream: Option<String>§ahead: Option<u32>§behind: Option<u32>§changes: Vec<Change>Tracked files with uncommitted changes, staged or not.
untracked: Vec<String>§diff_sha256: Option<String>SHA-256 of the staged and the unstaged changes, so pickup notices
edits to files that were already changed, staged or not.
pr: Option<Pr>§checks: Vec<CheckRun>§processes: Vec<Process>§jobs: Vec<Job>The worktree’s jouet jobs; the caller adds them.
daemons: Vec<Daemon>The pitchfork daemons in the worktree’s namespace; the caller adds them, since they take running pitchfork.
notes: Vec<String>Facts that could not be gathered, and why.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Handoff
impl<'de> Deserialize<'de> for Handoff
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Handoff
impl StructuralPartialEq for Handoff
Auto Trait Implementations§
impl Forget for Handoff
impl Freeze for Handoff
impl Move for Handoff
impl RefUnwindSafe for Handoff
impl Send for Handoff
impl Sync for Handoff
impl Unpin for Handoff
impl UnsafeUnpin for Handoff
impl UnwindSafe for Handoff
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