pub struct Task {
pub id: TaskId,
pub version: u32,
pub state: TaskState,
pub kind: Option<String>,
pub title: Option<String>,
pub spec_ref: Option<String>,
pub project: Option<String>,
pub priority: Option<i32>,
pub tracker_ref: Option<String>,
pub created_at: Timestamp,
pub updated_at: Timestamp,
}Expand description
Tracker-visible work item.
Fields§
§id: TaskId§version: u32§state: TaskState§kind: Option<String>§title: Option<String>§spec_ref: Option<String>§project: Option<String>§priority: Option<i32>§tracker_ref: Option<String>Opaque external-tracker reference (vendor-neutral).
created_at: Timestamp§updated_at: TimestampTrait 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
impl StructuralPartialEq for Task
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