pub struct ResolutionDecisionBinding { /* private fields */ }Expand description
Construction-time link from a resolved field to externally supplied source evidence. It intentionally carries no chosen-value fingerprint; core derives that fingerprint independently from both sides after parsing raw evidence.
Implementations§
Source§impl ResolutionDecisionBinding
impl ResolutionDecisionBinding
pub fn new( field: ResolutionField, source: ResolutionDecisionSource, reason_id: ResolutionReasonId, source_artifact_id: ResolutionArtifactId, source_field_path: impl Into<String>, ) -> Result<Self, VNextError>
pub fn field(&self) -> ResolutionField
pub fn source(&self) -> ResolutionDecisionSource
pub fn reason_id(&self) -> &ResolutionReasonId
pub fn source_artifact_id(&self) -> &ResolutionArtifactId
pub fn source_field_path(&self) -> &str
Trait Implementations§
Source§impl Clone for ResolutionDecisionBinding
impl Clone for ResolutionDecisionBinding
Source§fn clone(&self) -> ResolutionDecisionBinding
fn clone(&self) -> ResolutionDecisionBinding
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 ResolutionDecisionBinding
impl Debug for ResolutionDecisionBinding
impl Eq for ResolutionDecisionBinding
impl StructuralPartialEq for ResolutionDecisionBinding
Auto Trait Implementations§
impl Freeze for ResolutionDecisionBinding
impl RefUnwindSafe for ResolutionDecisionBinding
impl Send for ResolutionDecisionBinding
impl Sync for ResolutionDecisionBinding
impl Unpin for ResolutionDecisionBinding
impl UnsafeUnpin for ResolutionDecisionBinding
impl UnwindSafe for ResolutionDecisionBinding
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