pub struct ConditionalOverlayEvidence {
pub facts: ContractValuePathFacts,
pub metadata_field_kinds: BTreeSet<MetadataFieldKind>,
pub type_hints: BTreeSet<String>,
pub provider_schema_uses: Vec<ProviderSchemaUse>,
}Expand description
Branch-local evidence for one conditional schema overlay.
The target path is implicit from the enclosing ContractPathSchemaEvidence
entry that owns the overlay.
Fields§
§facts: ContractValuePathFactsBehavioral facts observed in the selected branch.
metadata_field_kinds: BTreeSet<MetadataFieldKind>Kubernetes metadata field roles reached in the branch.
type_hints: BTreeSet<String>JSON Schema type names implied by branch-local consumers.
provider_schema_uses: Vec<ProviderSchemaUse>Resource-schema sinks reached in the selected branch.
Implementations§
Source§impl ConditionalOverlayEvidence
impl ConditionalOverlayEvidence
Sourcepub fn as_path_evidence(&self, value_path: &str) -> ContractPathSchemaEvidence
pub fn as_path_evidence(&self, value_path: &str) -> ContractPathSchemaEvidence
Materializes this branch-local evidence as evidence for value_path.
Trait Implementations§
Source§impl Clone for ConditionalOverlayEvidence
impl Clone for ConditionalOverlayEvidence
Source§fn clone(&self) -> ConditionalOverlayEvidence
fn clone(&self) -> ConditionalOverlayEvidence
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 ConditionalOverlayEvidence
impl Debug for ConditionalOverlayEvidence
Source§impl Default for ConditionalOverlayEvidence
impl Default for ConditionalOverlayEvidence
Source§fn default() -> ConditionalOverlayEvidence
fn default() -> ConditionalOverlayEvidence
Returns the “default value” for a type. Read more
impl Eq for ConditionalOverlayEvidence
Source§impl Hash for ConditionalOverlayEvidence
impl Hash for ConditionalOverlayEvidence
Source§impl Ord for ConditionalOverlayEvidence
impl Ord for ConditionalOverlayEvidence
Source§fn cmp(&self, other: &ConditionalOverlayEvidence) -> Ordering
fn cmp(&self, other: &ConditionalOverlayEvidence) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ConditionalOverlayEvidence
impl PartialOrd for ConditionalOverlayEvidence
impl StructuralPartialEq for ConditionalOverlayEvidence
Auto Trait Implementations§
impl Freeze for ConditionalOverlayEvidence
impl RefUnwindSafe for ConditionalOverlayEvidence
impl Send for ConditionalOverlayEvidence
impl Sync for ConditionalOverlayEvidence
impl Unpin for ConditionalOverlayEvidence
impl UnsafeUnpin for ConditionalOverlayEvidence
impl UnwindSafe for ConditionalOverlayEvidence
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