pub struct Predicate {
pub project: String,
pub version: String,
pub published_at: String,
pub source: Option<Source>,
pub artifacts: Vec<Artifact>,
pub resources: Vec<Resource>,
pub identity: Identity,
pub attested_by: Attestor,
pub evidence: Vec<Evidence>,
pub notes_url: Option<String>,
pub extensions: Extensions,
}Fields§
§project: StringThe project’s name: a host path such as github.com/jdx/mise or
mise.jdx.dev. The host is where a
consumer discovers releases and, for forge hosts, what identity is
expected to have signed them. A tool in a monorepo adds a subpath:
github.com/oxc-project/oxc/oxlint.
version: StringSemver 2.0.0 (calver such as 2026.9.1 qualifies). Its prerelease
part, if any, marks a prerelease, and the first identifier of that
part names the channel: see channel. On a forge, the release
tag names this version: see tag_version.
published_at: StringRFC 3339. Publishers write UTC with Z; consumers accept any offset.
source: Option<Source>§artifacts: Vec<Artifact>§resources: Vec<Resource>What ships beyond the executables: completions, man pages, CLI
specs, skills, desktop entries, icons, app bundles. Each names its
kind and one source. See Resource.
identity: Identity§attested_by: AttestorWho is making the claim: the vendor itself, or a repackager that checked the vendor’s evidence and signed a document about it.
evidence: Vec<Evidence>What a repackager checked before signing.
notes_url: Option<String>§extensions: ExtensionsVendor- or consumer-defined data about the release. See
Extensions.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Predicate
impl<'de> Deserialize<'de> for Predicate
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>,
impl Eq for Predicate
Source§impl JsonSchema for Predicate
impl JsonSchema for Predicate
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreimpl StructuralPartialEq for Predicate
Auto Trait Implementations§
impl Freeze for Predicate
impl RefUnwindSafe for Predicate
impl Send for Predicate
impl Sync for Predicate
impl Unpin for Predicate
impl UnsafeUnpin for Predicate
impl UnwindSafe for Predicate
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
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
key and return true if they are equal.