pub struct ProducerDescriptor {
pub tool: String,
pub version: String,
pub model: Option<String>,
}Expand description
Who produced this attestation. tool is the CLI / harness name
("lex check", "lex agent-tool", "ci-runner@v3"). version
pins the tool revision so a regression in the producer is
distinguishable from a regression in the code being verified.
model is set when an LLM was the proximate producer — for
--spec-style runs the harness is the producer; for lex agent-tool the model is, and we want both recorded.
Fields§
§tool: String§version: String§model: Option<String>Trait Implementations§
Source§impl Clone for ProducerDescriptor
impl Clone for ProducerDescriptor
Source§fn clone(&self) -> ProducerDescriptor
fn clone(&self) -> ProducerDescriptor
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 ProducerDescriptor
impl Debug for ProducerDescriptor
Source§impl<'de> Deserialize<'de> for ProducerDescriptor
impl<'de> Deserialize<'de> for ProducerDescriptor
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
Source§impl PartialEq for ProducerDescriptor
impl PartialEq for ProducerDescriptor
Source§fn eq(&self, other: &ProducerDescriptor) -> bool
fn eq(&self, other: &ProducerDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProducerDescriptor
impl Serialize for ProducerDescriptor
impl Eq for ProducerDescriptor
impl StructuralPartialEq for ProducerDescriptor
Auto Trait Implementations§
impl Freeze for ProducerDescriptor
impl RefUnwindSafe for ProducerDescriptor
impl Send for ProducerDescriptor
impl Sync for ProducerDescriptor
impl Unpin for ProducerDescriptor
impl UnsafeUnpin for ProducerDescriptor
impl UnwindSafe for ProducerDescriptor
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.