pub struct WorkItem {Show 21 fields
pub id: WorkItemId,
pub realm_id: String,
pub namespace: WorkNamespace,
pub title: String,
pub description: Option<String>,
pub status: WorkStatus,
pub completion_policy: WorkCompletionPolicy,
pub priority: WorkPriority,
pub labels: BTreeSet<String>,
pub owner: Option<WorkOwner>,
pub claim: Option<WorkClaim>,
pub machine_state: WorkGraphMachineState,
pub revision: u64,
pub due_at: Option<DateTime<Utc>>,
pub not_before: Option<DateTime<Utc>>,
pub snoozed_until: Option<DateTime<Utc>>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub terminal_at: Option<DateTime<Utc>>,
pub external_refs: Vec<ExternalWorkRef>,
pub evidence_refs: Vec<WorkEvidenceRef>,
}Fields§
§id: WorkItemId§realm_id: String§namespace: WorkNamespace§title: String§description: Option<String>§status: WorkStatus§completion_policy: WorkCompletionPolicy§priority: WorkPriority§labels: BTreeSet<String>§owner: Option<WorkOwner>§claim: Option<WorkClaim>§machine_state: WorkGraphMachineState§revision: u64§due_at: Option<DateTime<Utc>>§not_before: Option<DateTime<Utc>>§snoozed_until: Option<DateTime<Utc>>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§terminal_at: Option<DateTime<Utc>>§external_refs: Vec<ExternalWorkRef>§evidence_refs: Vec<WorkEvidenceRef>Trait Implementations§
Source§impl<'de> Deserialize<'de> for WorkItem
impl<'de> Deserialize<'de> for WorkItem
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 Eq for WorkItem
impl StructuralPartialEq for WorkItem
Auto Trait Implementations§
impl Freeze for WorkItem
impl RefUnwindSafe for WorkItem
impl Send for WorkItem
impl Sync for WorkItem
impl Unpin for WorkItem
impl UnsafeUnpin for WorkItem
impl UnwindSafe for WorkItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.