pub struct ReviewEvent {
pub id: String,
pub workspace: Option<String>,
pub finding_id: String,
pub reviewer: String,
pub reviewed_at: String,
pub scope: Option<String>,
pub status: Option<String>,
pub action: ReviewAction,
pub reason: String,
pub evidence_considered: Vec<ReviewEvidence>,
pub state_change: Option<Value>,
}Expand description
A review event is a content-addressed record of human judgment on a finding. Like a Git commit, it records who, when, what changed, and why.
Fields§
§id: StringContent-addressed ID of this review event.
workspace: Option<String>Optional workspace-relative origin for repo-scoped reviews.
finding_id: StringID of the finding being reviewed.
reviewer: StringThe reviewer (ORCID preferred).
reviewed_at: StringWhen the review happened (RFC 3339).
scope: Option<String>Optional review scope for richer curation workflows.
status: Option<String>Optional status for the review event (for example: accepted).
action: ReviewActionWhat action was taken.
reason: StringHuman-readable reason.
evidence_considered: Vec<ReviewEvidence>Supporting findings or artifacts considered during review.
state_change: Option<Value>Optional structured interpretation update payload.
Trait Implementations§
Source§impl Clone for ReviewEvent
impl Clone for ReviewEvent
Source§fn clone(&self) -> ReviewEvent
fn clone(&self) -> ReviewEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReviewEvent
impl Debug for ReviewEvent
Source§impl<'de> Deserialize<'de> for ReviewEvent
impl<'de> Deserialize<'de> for ReviewEvent
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
Auto Trait Implementations§
impl Freeze for ReviewEvent
impl RefUnwindSafe for ReviewEvent
impl Send for ReviewEvent
impl Sync for ReviewEvent
impl Unpin for ReviewEvent
impl UnsafeUnpin for ReviewEvent
impl UnwindSafe for ReviewEvent
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