pub struct ValueRead {
pub values_path: String,
pub kind: ValueKind,
pub condition: GuardDnf,
pub resource: Option<ResourceRef>,
pub provenance: Vec<ContractProvenance>,
pub dependency: bool,
}Expand description
One pathless .Values read with the guards active at the read site.
Fields§
§values_path: StringThe dotted .Values path that was read.
kind: ValueKindThe value shape observed at the read (helper rows demoted at capture sites keep their fragment/scalar kind).
condition: GuardDnfThe disjunction of predicate conjunctions under which the read occurs.
resource: Option<ResourceRef>The resource containing the read site, for site-scoped read classes (condition, bound-value, templated-key, and rendered-effect reads); helper-internal reads carry none.
provenance: Vec<ContractProvenance>Source sites justifying the read.
dependency: boolWhether the read belongs to the dependency lane (helper rows demoted at capture sites) instead of the document lane.
Trait Implementations§
impl Eq for ValueRead
Source§impl Ord for ValueRead
impl Ord for ValueRead
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 ValueRead
impl PartialOrd for ValueRead
impl StructuralPartialEq for ValueRead
Auto Trait Implementations§
impl Freeze for ValueRead
impl RefUnwindSafe for ValueRead
impl Send for ValueRead
impl Sync for ValueRead
impl Unpin for ValueRead
impl UnsafeUnpin for ValueRead
impl UnwindSafe for ValueRead
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.