pub struct ProgramExecutionDescriptor {
pub schema_version: u16,
pub recipe: ProgramBuildRecipe,
pub artifact: ProgramArtifact,
pub function: usize,
pub requested_outputs: u16,
}Fields§
§schema_version: u16§recipe: ProgramBuildRecipe§artifact: ProgramArtifact§function: usize§requested_outputs: u16Implementations§
Source§impl ProgramExecutionDescriptor
impl ProgramExecutionDescriptor
pub fn validate(&self) -> ArtifactResult<()>
pub fn validate_for_portable_host(&self) -> ArtifactResult<()>
Trait Implementations§
Source§impl Clone for ProgramExecutionDescriptor
impl Clone for ProgramExecutionDescriptor
Source§fn clone(&self) -> ProgramExecutionDescriptor
fn clone(&self) -> ProgramExecutionDescriptor
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 ProgramExecutionDescriptor
impl Debug for ProgramExecutionDescriptor
Source§impl<'de> Deserialize<'de> for ProgramExecutionDescriptor
impl<'de> Deserialize<'de> for ProgramExecutionDescriptor
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 ProgramExecutionDescriptor
impl StructuralPartialEq for ProgramExecutionDescriptor
Auto Trait Implementations§
impl Freeze for ProgramExecutionDescriptor
impl RefUnwindSafe for ProgramExecutionDescriptor
impl Send for ProgramExecutionDescriptor
impl Sync for ProgramExecutionDescriptor
impl Unpin for ProgramExecutionDescriptor
impl UnsafeUnpin for ProgramExecutionDescriptor
impl UnwindSafe for ProgramExecutionDescriptor
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,
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
Compare self to
key and return true if they are equal.