pub struct PinnedInputHeader {
pub contract: String,
pub corpus_revision: String,
pub producer_versions: Vec<(String, String)>,
pub resolved_context: String,
pub commands: Vec<String>,
pub pin: Pin,
}Expand description
The pinned-input header every report carries: enough to replay the run from the record alone.
Fields§
§contract: StringThe contract version this report was produced under.
corpus_revision: StringThe fixture corpus revision the run was graded against.
producer_versions: Vec<(String, String)>Every producer/version pair the run consulted.
resolved_context: StringThe resolved context health the run recorded.
commands: Vec<String>The exact commands the run issued, in order.
pin: PinThe pinned foundation-candidate digest this run was graded against – a consumer reads this straight off the report header rather than recomputing it from a side channel.
Trait Implementations§
Source§impl Clone for PinnedInputHeader
impl Clone for PinnedInputHeader
Auto Trait Implementations§
impl Freeze for PinnedInputHeader
impl RefUnwindSafe for PinnedInputHeader
impl Send for PinnedInputHeader
impl Sync for PinnedInputHeader
impl Unpin for PinnedInputHeader
impl UnsafeUnpin for PinnedInputHeader
impl UnwindSafe for PinnedInputHeader
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more