pub struct PendingStatus {
pub has_pending: bool,
pub session_id: Option<String>,
pub file_count: usize,
pub line_count: u32,
pub edit_count: usize,
pub prompt_count: u32,
pub is_stale: bool,
pub age: String,
pub max_pending_age_hours: i64,
}Expand description
Status of pending changes
Fields§
§has_pending: bool§session_id: Option<String>§file_count: usize§line_count: u32§edit_count: usize§prompt_count: u32§is_stale: boolWhether the pending buffer is stale (older than configured hours)
age: StringHuman-readable age of the pending buffer
max_pending_age_hours: i64Configured maximum pending buffer age in hours
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PendingStatus
impl RefUnwindSafe for PendingStatus
impl Send for PendingStatus
impl Sync for PendingStatus
impl Unpin for PendingStatus
impl UnsafeUnpin for PendingStatus
impl UnwindSafe for PendingStatus
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