pub struct Task {Show 13 fields
pub id: String,
pub description: String,
pub status: TaskStatus,
pub posted_by: String,
pub assigned_to: Option<String>,
pub posted_at: DateTime<Utc>,
pub claimed_at: Option<DateTime<Utc>>,
pub plan: Option<String>,
pub approved_by: Option<String>,
pub approved_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub notes: Option<String>,
pub team: Option<String>,
}Expand description
A task on the board, persisted as NDJSON.
Fields§
§id: String§description: String§status: TaskStatus§posted_by: String§assigned_to: Option<String>§posted_at: DateTime<Utc>§claimed_at: Option<DateTime<Utc>>§plan: Option<String>§approved_by: Option<String>§approved_at: Option<DateTime<Utc>>§updated_at: Option<DateTime<Utc>>§notes: Option<String>§team: Option<String>Optional team restriction — only members of this team can claim or be
assigned to the task. None means unrestricted.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Task
impl<'de> Deserialize<'de> for Task
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 Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnsafeUnpin for Task
impl UnwindSafe for Task
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