pub struct StashAbortOutput {
pub index: usize,
pub sha: String,
pub reverted_paths: Vec<String>,
pub removed_untracked: Vec<String>,
pub entry_kept: bool,
}Fields§
§index: usize§sha: StringStash commit sha (full 40-char hex) whose apply was rolled back.
reverted_paths: Vec<String>Tracked paths returned to their HEAD state (restored or, when the entry added them, removed from the working tree).
removed_untracked: Vec<String>Untracked paths removed from the working tree.
entry_kept: boolAlways true — abort undoes the apply, it does not drop the entry.
Trait Implementations§
Source§impl Clone for StashAbortOutput
impl Clone for StashAbortOutput
Source§fn clone(&self) -> StashAbortOutput
fn clone(&self) -> StashAbortOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StashAbortOutput
impl Debug for StashAbortOutput
Source§impl<'de> Deserialize<'de> for StashAbortOutput
impl<'de> Deserialize<'de> for StashAbortOutput
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 StashAbortOutput
Source§impl PartialEq for StashAbortOutput
impl PartialEq for StashAbortOutput
Source§impl Serialize for StashAbortOutput
impl Serialize for StashAbortOutput
impl StructuralPartialEq for StashAbortOutput
Auto Trait Implementations§
impl Freeze for StashAbortOutput
impl RefUnwindSafe for StashAbortOutput
impl Send for StashAbortOutput
impl Sync for StashAbortOutput
impl Unpin for StashAbortOutput
impl UnsafeUnpin for StashAbortOutput
impl UnwindSafe for StashAbortOutput
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.