pub struct TargetReconcile {
pub target: String,
pub ecosystem: String,
pub package: Option<String>,
pub version: String,
pub outcome: VerifyOutcome,
pub detail: Option<String>,
}Expand description
One published target reconciled against the registry.
Fields§
§target: StringThe journaled target id (the published map key, e.g. "cargo").
ecosystem: StringThe ecosystem the receipt was published to (rust, node, …), verbatim
from the receipt.
package: Option<String>The published package/crate name, when the receipt recorded one.
version: StringThe version the receipt claims landed — the value reconciled remotely.
outcome: VerifyOutcomeHow the receipt reconciles against current registry state.
detail: Option<String>A human-readable reason, present for every non-matches outcome (why it is
missing/conflicts, or why the reconcile was unknown). Omitted for a
clean matches.
Trait Implementations§
Source§impl Clone for TargetReconcile
impl Clone for TargetReconcile
Source§fn clone(&self) -> TargetReconcile
fn clone(&self) -> TargetReconcile
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 TargetReconcile
impl Debug for TargetReconcile
impl Eq for TargetReconcile
Source§impl PartialEq for TargetReconcile
impl PartialEq for TargetReconcile
Source§impl Serialize for TargetReconcile
impl Serialize for TargetReconcile
impl StructuralPartialEq for TargetReconcile
Auto Trait Implementations§
impl Freeze for TargetReconcile
impl RefUnwindSafe for TargetReconcile
impl Send for TargetReconcile
impl Sync for TargetReconcile
impl Unpin for TargetReconcile
impl UnsafeUnpin for TargetReconcile
impl UnwindSafe for TargetReconcile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
Compare self to
key and return true if they are equal.