pub struct PreviousVerdict {
pub verdict_id: String,
pub verdict: String,
pub computed_at: String,
pub diff: String,
}Expand description
Prior-verdict comparison. Surfaces when the CleanLibrary App has a
stored prior verdict for the same (ecosystem, package, version) that
differs from the current one — useful for AI agents and dashboards
that want to flag verdict-state changes since the last fetch.
Sister-shape with cleanlib_sdk_go::PreviousVerdict and
cleanlib-core::PreviousVerdict in the App.
Fields§
§verdict_id: String§verdict: String§computed_at: String§diff: StringTrait Implementations§
Source§impl Clone for PreviousVerdict
impl Clone for PreviousVerdict
Source§fn clone(&self) -> PreviousVerdict
fn clone(&self) -> PreviousVerdict
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 PreviousVerdict
impl Debug for PreviousVerdict
Source§impl Default for PreviousVerdict
impl Default for PreviousVerdict
Source§fn default() -> PreviousVerdict
fn default() -> PreviousVerdict
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PreviousVerdictwhere
PreviousVerdict: Default,
impl<'de> Deserialize<'de> for PreviousVerdictwhere
PreviousVerdict: Default,
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 PreviousVerdict
impl RefUnwindSafe for PreviousVerdict
impl Send for PreviousVerdict
impl Sync for PreviousVerdict
impl Unpin for PreviousVerdict
impl UnsafeUnpin for PreviousVerdict
impl UnwindSafe for PreviousVerdict
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