pub struct ReviewRecord {
pub id: String,
pub target: ReviewTarget,
pub reviewer_details: ReviewerDetails,
pub files: Vec<ReviewFile>,
pub agent_summary: Option<String>,
pub overall_security_summary: SecuritySummary,
pub overall_security_confidence: Option<ReviewConfidence>,
}Expand description
Approved review record returned by the server API.
Fields§
§id: StringServer-assigned review identifier.
target: ReviewTargetPackage release that was reviewed.
reviewer_details: ReviewerDetailsClient and agent metadata for the reviewer.
files: Vec<ReviewFile>Files covered by this review.
agent_summary: Option<String>Agent-written package-level summary.
overall_security_summary: SecuritySummaryOverall security summary across reviewed files.
overall_security_confidence: Option<ReviewConfidence>Agent confidence in the overall security summary.
Trait Implementations§
Source§impl Clone for ReviewRecord
impl Clone for ReviewRecord
Source§fn clone(&self) -> ReviewRecord
fn clone(&self) -> ReviewRecord
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 ReviewRecord
impl Debug for ReviewRecord
Source§impl<'de> Deserialize<'de> for ReviewRecord
impl<'de> Deserialize<'de> for ReviewRecord
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 ReviewRecord
impl RefUnwindSafe for ReviewRecord
impl Send for ReviewRecord
impl Sync for ReviewRecord
impl Unpin for ReviewRecord
impl UnsafeUnpin for ReviewRecord
impl UnwindSafe for ReviewRecord
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