pub struct Project {
pub id: ProjectId,
pub key: Key,
pub parent: Option<ProjectId>,
pub title: String,
pub objective: String,
}Expand description
Project objective, optionally nested under another project.
Fields§
§id: ProjectIdStable entity identity; it must match its containing map key.
key: KeyHuman-readable key, unique in this entity category.
parent: Option<ProjectId>Optional parent; containment must be acyclic.
title: StringNon-empty human-readable title.
objective: StringObservable purpose of this work.
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
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