pub struct WorkspaceRecord {
pub path: PathBuf,
pub created_at: SystemTime,
}Expand description
A workspace entry stored in the registry.
Fields§
§path: PathBufAbsolute path to the worktree directory.
created_at: SystemTimeWhen this workspace was first created.
Trait Implementations§
Source§impl Clone for WorkspaceRecord
impl Clone for WorkspaceRecord
Source§fn clone(&self) -> WorkspaceRecord
fn clone(&self) -> WorkspaceRecord
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 moreSource§impl Debug for WorkspaceRecord
impl Debug for WorkspaceRecord
Source§impl<'de> Deserialize<'de> for WorkspaceRecord
impl<'de> Deserialize<'de> for WorkspaceRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WorkspaceRecord
impl RefUnwindSafe for WorkspaceRecord
impl Send for WorkspaceRecord
impl Sync for WorkspaceRecord
impl Unpin for WorkspaceRecord
impl UnsafeUnpin for WorkspaceRecord
impl UnwindSafe for WorkspaceRecord
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