pub struct ComponentSpec {
pub id: String,
pub kind: ComponentKind,
pub external_inputs: Vec<ComponentDomain>,
pub dependencies: Vec<String>,
pub dependency_inputs: Vec<ComponentDomain>,
pub output: ComponentDomain,
pub residency: ComponentResidencyClass,
}Expand description
One typed unit in a composite execution graph.
Fields§
§id: StringStable architecture-owned identity.
kind: ComponentKindSemantic component kind.
external_inputs: Vec<ComponentDomain>External input domains in declared order.
dependencies: Vec<String>Dependency unit identities in declared order.
dependency_inputs: Vec<ComponentDomain>Required output domain for each dependency.
output: ComponentDomainUnit output domain.
residency: ComponentResidencyClassWeight-residency accounting class.
Trait Implementations§
Source§impl Clone for ComponentSpec
impl Clone for ComponentSpec
Source§fn clone(&self) -> ComponentSpec
fn clone(&self) -> ComponentSpec
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 ComponentSpec
impl Debug for ComponentSpec
impl Eq for ComponentSpec
Source§impl PartialEq for ComponentSpec
impl PartialEq for ComponentSpec
impl StructuralPartialEq for ComponentSpec
Auto Trait Implementations§
impl Freeze for ComponentSpec
impl RefUnwindSafe for ComponentSpec
impl Send for ComponentSpec
impl Sync for ComponentSpec
impl Unpin for ComponentSpec
impl UnsafeUnpin for ComponentSpec
impl UnwindSafe for ComponentSpec
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