pub struct ContractQueueItemView {
pub profile: String,
pub claim_id: String,
pub status: String,
pub kind: String,
pub value: String,
pub column: Option<String>,
pub object: String,
pub schema_state: String,
pub evidence_count: usize,
}Expand description
One claim waiting for review — a Candidate or a persisted Stale claim —
in renderable form. The queue is a flat per-claim listing — not the
object-grouped ContractView shape — so it gets its own DTO rather than a
one-claim “contract” with a smuggled evidence count. profile is the
profile name, never the opaque identity, and there is no field for the
identity here either.
status distinguishes the decision a reviewer is being asked to make:
candidate (a fresh claim to confirm or reject) from stale (a confirmed
claim reconciliation marked because the schema drifted, to re-confirm or
forget). Without it both appear and a reviewer cannot tell which.
Fields§
§profile: String§claim_id: String§status: StringThe claim’s persisted status word (candidate or stale) — the decision
the reviewer is being asked to make, since the queue holds both.
kind: String§value: String§column: Option<String>§object: String§schema_state: String§evidence_count: usizeTrait Implementations§
Source§impl Clone for ContractQueueItemView
impl Clone for ContractQueueItemView
Source§fn clone(&self) -> ContractQueueItemView
fn clone(&self) -> ContractQueueItemView
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ContractQueueItemView
impl Debug for ContractQueueItemView
Source§impl<'de> Deserialize<'de> for ContractQueueItemView
impl<'de> Deserialize<'de> for ContractQueueItemView
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>,
impl Eq for ContractQueueItemView
Source§impl PartialEq for ContractQueueItemView
impl PartialEq for ContractQueueItemView
Source§impl Serialize for ContractQueueItemView
impl Serialize for ContractQueueItemView
impl StructuralPartialEq for ContractQueueItemView
Auto Trait Implementations§
impl Freeze for ContractQueueItemView
impl RefUnwindSafe for ContractQueueItemView
impl Send for ContractQueueItemView
impl Sync for ContractQueueItemView
impl Unpin for ContractQueueItemView
impl UnsafeUnpin for ContractQueueItemView
impl UnwindSafe for ContractQueueItemView
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more