pub struct StashShowOutput {
pub index: usize,
pub sha: String,
pub message: String,
pub patch: String,
pub file_count: usize,
pub files: Vec<String>,
pub untracked_paths: Vec<String>,
}Fields§
§index: usize§sha: StringStash commit sha (full 40-char hex).
message: StringReflog message of the entry.
patch: StringUnified diff of the stashed tracked changes (base commit vs stash).
file_count: usizeNumber of tracked files the entry touches.
files: Vec<String>Repo-relative paths (git pathspec form) of the tracked files above.
untracked_paths: Vec<String>Repo-relative paths carried as untracked files (git stash push -u).
Empty when has_untracked is false; no patch is produced for them.
Trait Implementations§
Source§impl Clone for StashShowOutput
impl Clone for StashShowOutput
Source§fn clone(&self) -> StashShowOutput
fn clone(&self) -> StashShowOutput
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 StashShowOutput
impl Debug for StashShowOutput
Source§impl<'de> Deserialize<'de> for StashShowOutput
impl<'de> Deserialize<'de> for StashShowOutput
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 StashShowOutput
Source§impl PartialEq for StashShowOutput
impl PartialEq for StashShowOutput
Source§impl Serialize for StashShowOutput
impl Serialize for StashShowOutput
impl StructuralPartialEq for StashShowOutput
Auto Trait Implementations§
impl Freeze for StashShowOutput
impl RefUnwindSafe for StashShowOutput
impl Send for StashShowOutput
impl Sync for StashShowOutput
impl Unpin for StashShowOutput
impl UnsafeUnpin for StashShowOutput
impl UnwindSafe for StashShowOutput
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.