pub struct Executor {
pub resource: Option<String>,
pub receipt: Vec<String>,
}Expand description
How the computation is run.
resource names run instructions or code that a runner (an agent, or
deterministic consumer code) follows. receipt declares the fields a run
must return: the evidence the attester inspects, for example a BigQuery
job_id and the SQL the job actually executed.
Fields§
§resource: Option<String>Path to run instructions or code.
receipt: Vec<String>The fields a run must return.
Implementations§
Trait Implementations§
impl Eq for Executor
impl StructuralPartialEq for Executor
Auto Trait Implementations§
impl Freeze for Executor
impl RefUnwindSafe for Executor
impl Send for Executor
impl Sync for Executor
impl Unpin for Executor
impl UnsafeUnpin for Executor
impl UnwindSafe for Executor
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