pub struct SurfaceExecutionPlan {
pub operation: OperationId,
pub mode: SurfaceExecutionMode,
pub side_effects: Vec<SurfaceSideEffect>,
pub cancellable: bool,
pub progress_unit: Option<String>,
pub expected_artifacts: Vec<SurfaceArtifactExpectation>,
pub requirements: Vec<RuntimeRequirement>,
pub max_recommended_input_bytes: Option<u64>,
}Fields§
§operation: OperationId§mode: SurfaceExecutionMode§side_effects: Vec<SurfaceSideEffect>§cancellable: bool§progress_unit: Option<String>§expected_artifacts: Vec<SurfaceArtifactExpectation>§requirements: Vec<RuntimeRequirement>§max_recommended_input_bytes: Option<u64>Trait Implementations§
Source§impl Clone for SurfaceExecutionPlan
impl Clone for SurfaceExecutionPlan
Source§fn clone(&self) -> SurfaceExecutionPlan
fn clone(&self) -> SurfaceExecutionPlan
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 SurfaceExecutionPlan
impl Debug for SurfaceExecutionPlan
Source§impl<'de> Deserialize<'de> for SurfaceExecutionPlan
impl<'de> Deserialize<'de> for SurfaceExecutionPlan
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 SurfaceExecutionPlan
Source§impl PartialEq for SurfaceExecutionPlan
impl PartialEq for SurfaceExecutionPlan
Source§fn eq(&self, other: &SurfaceExecutionPlan) -> bool
fn eq(&self, other: &SurfaceExecutionPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SurfaceExecutionPlan
impl Serialize for SurfaceExecutionPlan
impl StructuralPartialEq for SurfaceExecutionPlan
Auto Trait Implementations§
impl Freeze for SurfaceExecutionPlan
impl RefUnwindSafe for SurfaceExecutionPlan
impl Send for SurfaceExecutionPlan
impl Sync for SurfaceExecutionPlan
impl Unpin for SurfaceExecutionPlan
impl UnsafeUnpin for SurfaceExecutionPlan
impl UnwindSafe for SurfaceExecutionPlan
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