pub struct NestedJobNode { /* private fields */ }Expand description
A format-4 nested-job lifecycle boundary.
Implementations§
Source§impl NestedJobNode
impl NestedJobNode
Sourcepub fn new(
id: NodeId,
child_definition: DefinitionIdentity,
mapping_revision: ComponentRevision,
mappings: Vec<NestedJobParameterMapping>,
) -> Result<Self, PlanError>
pub fn new( id: NodeId, child_definition: DefinitionIdentity, mapping_revision: ComponentRevision, mappings: Vec<NestedJobParameterMapping>, ) -> Result<Self, PlanError>
Declares a child definition and its complete deterministic parameter map.
Mappings are canonicalized by child parameter name so builder declaration order cannot change the definition fingerprint.
§Errors
Rejects a legacy/unbound child identity, more than 64 mappings, or a duplicate child parameter name.
Sourcepub const fn child_definition(&self) -> &DefinitionIdentity
pub const fn child_definition(&self) -> &DefinitionIdentity
Borrows the exact child definition identity required by the node.
Sourcepub const fn mapping_revision(&self) -> &ComponentRevision
pub const fn mapping_revision(&self) -> &ComponentRevision
Borrows the mapping implementation revision.
Sourcepub fn mappings(&self) -> &[NestedJobParameterMapping]
pub fn mappings(&self) -> &[NestedJobParameterMapping]
Borrows mappings in canonical target-name order.
Trait Implementations§
Source§impl Clone for NestedJobNode
impl Clone for NestedJobNode
Source§impl Debug for NestedJobNode
impl Debug for NestedJobNode
impl Eq for NestedJobNode
Source§impl PartialEq for NestedJobNode
impl PartialEq for NestedJobNode
impl StructuralPartialEq for NestedJobNode
Auto Trait Implementations§
impl Forget for NestedJobNode
impl Freeze for NestedJobNode
impl Move for NestedJobNode
impl RefUnwindSafe for NestedJobNode
impl Send for NestedJobNode
impl Sync for NestedJobNode
impl Unpin for NestedJobNode
impl UnsafeUnpin for NestedJobNode
impl UnwindSafe for NestedJobNode
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