pub struct GitSessionState {
pub session_id: String,
pub start_time: SystemTime,
pub current_branch: String,
pub original_branch: String,
pub edits_applied: Vec<String>,
pub commit_history: Vec<GitCommit>,
pub backup_points: Vec<BackupPoint>,
}
Expand description
Git session state tracking
Fields§
§session_id: String
Unique session identifier
start_time: SystemTime
Session start timestamp
current_branch: String
Current branch name
original_branch: String
Original branch name
edits_applied: Vec<String>
Session edits applied
commit_history: Vec<GitCommit>
Session commit history
backup_points: Vec<BackupPoint>
Session backup points
Trait Implementations§
Source§impl Clone for GitSessionState
impl Clone for GitSessionState
Source§fn clone(&self) -> GitSessionState
fn clone(&self) -> GitSessionState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for GitSessionState
impl RefUnwindSafe for GitSessionState
impl Send for GitSessionState
impl Sync for GitSessionState
impl Unpin for GitSessionState
impl UnwindSafe for GitSessionState
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