pub struct ValuePathExplanation {
pub path: String,
pub exact_uses: Vec<ContractUse>,
pub descendant_uses: Vec<ContractUse>,
pub value_path_facts: Option<ContractValuePathFacts>,
pub guard_predicates: Vec<ConditionalGuard>,
pub metadata_fields: Vec<MetadataFieldKind>,
pub type_hints: Vec<Value>,
pub has_default_fallback: bool,
}Expand description
Session-level explanation for one values path.
Fields§
§path: StringCanonical values path described by the explanation.
exact_uses: Vec<ContractUse>Contract uses that read exactly this path.
descendant_uses: Vec<ContractUse>Contract uses that read descendants of this path.
value_path_facts: Option<ContractValuePathFacts>Aggregate behavioral facts for the path, when analysis found evidence.
guard_predicates: Vec<ConditionalGuard>Values-decidable guards attached to the path.
metadata_fields: Vec<MetadataFieldKind>Kubernetes metadata roles reached from the path.
type_hints: Vec<Value>JSON Schema type hints derived from strict consumers.
has_default_fallback: boolWhether a defaulting operation supplies an absent value.
Trait Implementations§
Source§impl Clone for ValuePathExplanation
impl Clone for ValuePathExplanation
Source§fn clone(&self) -> ValuePathExplanation
fn clone(&self) -> ValuePathExplanation
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 ValuePathExplanation
impl Debug for ValuePathExplanation
Source§impl PartialEq for ValuePathExplanation
impl PartialEq for ValuePathExplanation
impl StructuralPartialEq for ValuePathExplanation
Auto Trait Implementations§
impl Freeze for ValuePathExplanation
impl RefUnwindSafe for ValuePathExplanation
impl Send for ValuePathExplanation
impl Sync for ValuePathExplanation
impl Unpin for ValuePathExplanation
impl UnsafeUnpin for ValuePathExplanation
impl UnwindSafe for ValuePathExplanation
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