pub struct ReviewItem {
pub id: String,
pub entity: EntityRef,
pub source: String,
pub source_id: Option<String>,
pub reason: ReviewReason,
pub decision: Option<ReviewDecision>,
pub reviewed_at: Option<u64>,
}Expand description
One reviewable claim as presented by the quality-resolution workflow.
Fields§
§id: StringStable short selector accepted by aede review.
entity: EntityRefLocal entity the claim is attached to.
source: StringService that made the claim.
source_id: Option<String>Identifier under review.
reason: ReviewReasonWhy automatic traversal is unsafe.
decision: Option<ReviewDecision>Existing decision, absent while the item is pending.
reviewed_at: Option<u64>When the existing decision was made.
Trait Implementations§
Source§impl Clone for ReviewItem
impl Clone for ReviewItem
Source§fn clone(&self) -> ReviewItem
fn clone(&self) -> ReviewItem
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 ReviewItem
impl Debug for ReviewItem
Source§impl PartialEq for ReviewItem
impl PartialEq for ReviewItem
impl Eq for ReviewItem
impl StructuralPartialEq for ReviewItem
Auto Trait Implementations§
impl Freeze for ReviewItem
impl RefUnwindSafe for ReviewItem
impl Send for ReviewItem
impl Sync for ReviewItem
impl Unpin for ReviewItem
impl UnwindSafe for ReviewItem
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