pub struct Project {
pub id: ProjectId,
pub name: String,
pub paths: Vec<PathBuf>,
pub tags: Vec<String>,
pub hourly_rate_cents: Option<i64>,
pub status: ProjectStatus,
pub source: ProjectSource,
pub created_at: OffsetDateTime,
pub updated_at: OffsetDateTime,
}Expand description
A tracked project.
Fields§
§id: ProjectIdUnique identifier.
name: StringUser-facing name (unique).
paths: Vec<PathBuf>Directories that map to this project.
User-defined tags.
hourly_rate_cents: Option<i64>Hourly rate in cents (e.g., 15000 = $150.00).
status: ProjectStatusWhether this project is active or archived.
source: ProjectSourceHow this project was created.
created_at: OffsetDateTimeWhen this project was created.
updated_at: OffsetDateTimeWhen this project was last updated.
Trait Implementations§
impl StructuralPartialEq for Project
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