pub struct PurposeCurationBatch {
pub project_instance_id: ProjectInstanceId,
pub active_generation: IndexGeneration,
pub task: String,
pub work_key: String,
pub items: Vec<PurposeCurationCandidate>,
}Expand description
Bounded purpose-curation work selected from one project generation.
Fields§
§project_instance_id: ProjectInstanceIdStable selected-project identity.
active_generation: IndexGenerationActive graph/index generation observed with the queue rows.
task: StringHost-supplied task label used to coalesce task-local work.
work_key: StringDeterministic identity of the complete returned batch.
items: Vec<PurposeCurationCandidate>Current missing or suggested purpose rows, ordered by path.
Trait Implementations§
Source§impl Clone for PurposeCurationBatch
impl Clone for PurposeCurationBatch
Source§fn clone(&self) -> PurposeCurationBatch
fn clone(&self) -> PurposeCurationBatch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PurposeCurationBatch
impl Debug for PurposeCurationBatch
Source§impl PartialEq for PurposeCurationBatch
impl PartialEq for PurposeCurationBatch
Source§impl Serialize for PurposeCurationBatch
impl Serialize for PurposeCurationBatch
impl Eq for PurposeCurationBatch
impl StructuralPartialEq for PurposeCurationBatch
Auto Trait Implementations§
impl Freeze for PurposeCurationBatch
impl RefUnwindSafe for PurposeCurationBatch
impl Send for PurposeCurationBatch
impl Sync for PurposeCurationBatch
impl Unpin for PurposeCurationBatch
impl UnwindSafe for PurposeCurationBatch
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more