pub struct Project {
pub id: String,
pub worktree: PathBuf,
pub vcs: Option<String>,
pub name: Option<String>,
pub time_created: i64,
pub time_updated: i64,
pub time_initialized: Option<i64>,
pub sandboxes: Vec<String>,
}Expand description
A project row. id is the SHA of the repo’s first root commit.
Fields§
§id: String§worktree: PathBuf§vcs: Option<String>§name: Option<String>§time_created: i64§time_updated: i64§time_initialized: Option<i64>§sandboxes: Vec<String>JSON string[] — sandbox paths.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Project
impl<'de> Deserialize<'de> for Project
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 Project
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnsafeUnpin for Project
impl UnwindSafe for Project
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