pub struct LandingResult {
pub committed: bool,
pub commit_sha: Option<String>,
pub handoff_path: PathBuf,
pub open_tasks: Vec<String>,
pub stashes_cleared: usize,
pub working_tree_clean: bool,
}Expand description
Result of the landing sequence.
Fields§
§committed: boolWhether changes were auto-committed.
commit_sha: Option<String>The commit SHA if a commit was made.
handoff_path: PathBufPath to the generated handoff file.
open_tasks: Vec<String>IDs of tasks that remain open.
stashes_cleared: usizeNumber of stashes that were cleared.
working_tree_clean: boolWhether the working tree is clean after landing.
Trait Implementations§
Source§impl Clone for LandingResult
impl Clone for LandingResult
Source§fn clone(&self) -> LandingResult
fn clone(&self) -> LandingResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LandingResult
impl Debug for LandingResult
Source§impl From<&LandingResult> for CompletionLanding
impl From<&LandingResult> for CompletionLanding
Source§fn from(result: &LandingResult) -> Self
fn from(result: &LandingResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LandingResult
impl RefUnwindSafe for LandingResult
impl Send for LandingResult
impl Sync for LandingResult
impl Unpin for LandingResult
impl UnwindSafe for LandingResult
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