pub struct StashEntry {
pub index: usize,
pub oid: Oid,
pub message: String,
}Expand description
Information about a stash entry.
Fields§
§index: usizeZero-based stash index.
oid: OidStash commit OID when known.
message: StringHuman-readable stash message.
Trait Implementations§
Source§impl Clone for StashEntry
impl Clone for StashEntry
Source§fn clone(&self) -> StashEntry
fn clone(&self) -> StashEntry
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 StashEntry
impl Debug for StashEntry
impl Eq for StashEntry
Source§impl PartialEq for StashEntry
impl PartialEq for StashEntry
Source§fn eq(&self, other: &StashEntry) -> bool
fn eq(&self, other: &StashEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StashEntry
Auto Trait Implementations§
impl Freeze for StashEntry
impl RefUnwindSafe for StashEntry
impl Send for StashEntry
impl Sync for StashEntry
impl Unpin for StashEntry
impl UnsafeUnpin for StashEntry
impl UnwindSafe for StashEntry
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