pub struct StashFinalizeOutput {
pub index: usize,
pub dropped_sha: String,
pub message: String,
}Fields§
§index: usizeIndex the entry occupied before the drop.
dropped_sha: StringSha of the dropped stash commit (full 40-char hex). The commit itself
survives until git gc prunes it, so this is the recovery key: feed
it to super::GitModule::stash_restore to put the entry back.
message: StringReflog message of the dropped entry.
Trait Implementations§
Source§impl Clone for StashFinalizeOutput
impl Clone for StashFinalizeOutput
Source§fn clone(&self) -> StashFinalizeOutput
fn clone(&self) -> StashFinalizeOutput
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 StashFinalizeOutput
impl Debug for StashFinalizeOutput
Source§impl<'de> Deserialize<'de> for StashFinalizeOutput
impl<'de> Deserialize<'de> for StashFinalizeOutput
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 StashFinalizeOutput
Source§impl PartialEq for StashFinalizeOutput
impl PartialEq for StashFinalizeOutput
Source§impl Serialize for StashFinalizeOutput
impl Serialize for StashFinalizeOutput
impl StructuralPartialEq for StashFinalizeOutput
Auto Trait Implementations§
impl Freeze for StashFinalizeOutput
impl RefUnwindSafe for StashFinalizeOutput
impl Send for StashFinalizeOutput
impl Sync for StashFinalizeOutput
impl Unpin for StashFinalizeOutput
impl UnsafeUnpin for StashFinalizeOutput
impl UnwindSafe for StashFinalizeOutput
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.