pub struct RunProvenance {
pub requested_model: Option<String>,
pub observed_model: Option<String>,
pub runtime_version: Option<String>,
pub configuration_digest: Option<String>,
}Expand description
What the recorder attests about the runtime a run executed in, fixed when the run starts.
The requested and the observed model are kept apart: the first is what the recorder asked the runtime to use, the second what the runtime announced it used. Neither is a place for secrets.
Fields§
§requested_model: Option<String>The model the recorder asked for; absent when it left the choice to the runtime.
observed_model: Option<String>The model the runtime announced, when it announced one.
runtime_version: Option<String>The runtime’s version as it announced it.
configuration_digest: Option<String>SHA-256, in lowercase hex, of the canonical public configuration the runtime was started with: permission mode, tools, allowed rules and confinement. The configuration itself is not stored, only what identifies it.
Implementations§
Source§impl RunProvenance
impl RunProvenance
Trait Implementations§
Source§impl Clone for RunProvenance
impl Clone for RunProvenance
Source§impl Debug for RunProvenance
impl Debug for RunProvenance
Source§impl Default for RunProvenance
impl Default for RunProvenance
Source§impl<'de> Deserialize<'de> for RunProvenance
impl<'de> Deserialize<'de> for RunProvenance
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 RunProvenance
Source§impl PartialEq for RunProvenance
impl PartialEq for RunProvenance
Source§impl Serialize for RunProvenance
impl Serialize for RunProvenance
impl StructuralPartialEq for RunProvenance
Auto Trait Implementations§
impl Freeze for RunProvenance
impl RefUnwindSafe for RunProvenance
impl Send for RunProvenance
impl Sync for RunProvenance
impl Unpin for RunProvenance
impl UnsafeUnpin for RunProvenance
impl UnwindSafe for RunProvenance
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