pub struct ReleaseSource {
pub version: String,
pub provenance: String,
pub registry_checksum: Option<Sha256>,
pub yanked: bool,
pub minimum_engine: Option<String>,
pub guidance_coverage: Option<Coverage>,
pub guidance_steps: Vec<String>,
pub guidance_excluded: usize,
pub evidence_refs: Vec<String>,
}Expand description
Where the release came from, and whether it was verified.
Fields§
§version: StringThe release’s version.
provenance: StringWhere its facts came from.
registry_checksum: Option<Sha256>The registry checksum, where a registry served it.
yanked: boolWhether the registry marks it yanked.
minimum_engine: Option<String>The lowest engine this release declares it needs.
guidance_coverage: Option<Coverage>How much of the interval the guidance ledger covers.
guidance_steps: Vec<String>Every guidance step that reaches this target.
guidance_excluded: usizeHow many steps this target’s destinations excluded.
evidence_refs: Vec<String>What each of the above rests on.
Trait Implementations§
Source§impl Clone for ReleaseSource
impl Clone for ReleaseSource
Source§fn clone(&self) -> ReleaseSource
fn clone(&self) -> ReleaseSource
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 ReleaseSource
impl Debug for ReleaseSource
Source§impl<'de> Deserialize<'de> for ReleaseSource
impl<'de> Deserialize<'de> for ReleaseSource
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
impl Eq for ReleaseSource
Source§impl PartialEq for ReleaseSource
impl PartialEq for ReleaseSource
Source§impl Serialize for ReleaseSource
impl Serialize for ReleaseSource
impl StructuralPartialEq for ReleaseSource
Auto Trait Implementations§
impl Freeze for ReleaseSource
impl RefUnwindSafe for ReleaseSource
impl Send for ReleaseSource
impl Sync for ReleaseSource
impl Unpin for ReleaseSource
impl UnsafeUnpin for ReleaseSource
impl UnwindSafe for ReleaseSource
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.