pub struct Stash {
pub index: usize,
pub message: String,
pub hash: Hash,
pub branch: String,
pub timestamp: DateTime<Utc>,
}
Expand description
Represents a Git stash entry
Fields§
§index: usize
The stash index (0 is most recent)
message: String
The stash message
hash: Hash
The commit hash of the stash
branch: String
The branch name when stash was created
timestamp: DateTime<Utc>
When the stash was created
Trait Implementations§
impl StructuralPartialEq for Stash
Auto Trait Implementations§
impl Freeze for Stash
impl RefUnwindSafe for Stash
impl Send for Stash
impl Sync for Stash
impl Unpin for Stash
impl UnwindSafe for Stash
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