pub struct NestedJobParameterMapping { /* private fields */ }Expand description
One deterministic typed child-parameter mapping.
Implementations§
Source§impl NestedJobParameterMapping
impl NestedJobParameterMapping
Sourcepub const fn new(
target: ParameterName,
role: ParameterRole,
source: NestedJobParameterSource,
expected: ParameterValueKind,
coercion: ParameterCoercion,
missing: MissingParameterPolicy,
) -> Self
pub const fn new( target: ParameterName, role: ParameterRole, source: NestedJobParameterSource, expected: ParameterValueKind, coercion: ParameterCoercion, missing: MissingParameterPolicy, ) -> Self
Declares one child-parameter mapping.
Sourcepub const fn target(&self) -> &ParameterName
pub const fn target(&self) -> &ParameterName
Borrows the child parameter name.
Sourcepub const fn role(&self) -> ParameterRole
pub const fn role(&self) -> ParameterRole
Returns whether the mapped child parameter selects child instance identity.
Sourcepub const fn source(&self) -> &NestedJobParameterSource
pub const fn source(&self) -> &NestedJobParameterSource
Borrows the structured source declaration.
Sourcepub const fn expected_kind(&self) -> ParameterValueKind
pub const fn expected_kind(&self) -> ParameterValueKind
Returns the required child parameter type.
Sourcepub const fn coercion(&self) -> ParameterCoercion
pub const fn coercion(&self) -> ParameterCoercion
Returns the deterministic coercion policy.
Sourcepub const fn missing_policy(&self) -> MissingParameterPolicy
pub const fn missing_policy(&self) -> MissingParameterPolicy
Returns missing-source behavior.
Trait Implementations§
Source§impl Clone for NestedJobParameterMapping
impl Clone for NestedJobParameterMapping
Source§impl Debug for NestedJobParameterMapping
impl Debug for NestedJobParameterMapping
impl Eq for NestedJobParameterMapping
impl StructuralPartialEq for NestedJobParameterMapping
Auto Trait Implementations§
impl Forget for NestedJobParameterMapping
impl Freeze for NestedJobParameterMapping
impl Move for NestedJobParameterMapping
impl RefUnwindSafe for NestedJobParameterMapping
impl Send for NestedJobParameterMapping
impl Sync for NestedJobParameterMapping
impl Unpin for NestedJobParameterMapping
impl UnsafeUnpin for NestedJobParameterMapping
impl UnwindSafe for NestedJobParameterMapping
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