pub struct Worktree {
pub id: u64,
pub abs_path: String,
pub root_name: String,
pub visible: bool,
pub entries: Vec<Entry>,
pub repository_entries: BTreeMap<u64, RepositoryEntry>,
pub diagnostic_summaries: Vec<DiagnosticSummary>,
pub settings_files: Vec<WorktreeSettingsFile>,
pub scan_id: u64,
pub completed_scan_id: u64,
}
Fields§
§id: u64
§abs_path: String
§root_name: String
§visible: bool
§entries: Vec<Entry>
§repository_entries: BTreeMap<u64, RepositoryEntry>
§diagnostic_summaries: Vec<DiagnosticSummary>
§settings_files: Vec<WorktreeSettingsFile>
§scan_id: u64
§completed_scan_id: u64
Auto Trait Implementations§
impl RefUnwindSafe for Worktree
impl Send for Worktree
impl Sync for Worktree
impl Unpin for Worktree
impl UnwindSafe for Worktree
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