pub struct ConditionalPathOverlay {
pub guards: Vec<ConditionalGuard>,
pub evidence: ConditionalOverlayEvidence,
pub preserve_base_schema: bool,
}Expand description
Conditionally-scoped values path whose schema can be lowered under a values-decidable guard set.
Multiple entries in guards mean conjunction: all guards in the set must
hold for the overlay to apply.
Fields§
§guards: Vec<ConditionalGuard>Conjoined conditions that select this overlay.
evidence: ConditionalOverlayEvidenceSchema evidence that applies while the guards hold.
preserve_base_schema: boolKeep the unconditional/base schema for this path alongside the guarded overlay because the contract also observed an unguarded use.
Trait Implementations§
Source§impl Clone for ConditionalPathOverlay
impl Clone for ConditionalPathOverlay
Source§fn clone(&self) -> ConditionalPathOverlay
fn clone(&self) -> ConditionalPathOverlay
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 ConditionalPathOverlay
impl Debug for ConditionalPathOverlay
impl Eq for ConditionalPathOverlay
Source§impl Hash for ConditionalPathOverlay
impl Hash for ConditionalPathOverlay
Source§impl Ord for ConditionalPathOverlay
impl Ord for ConditionalPathOverlay
Source§fn cmp(&self, other: &ConditionalPathOverlay) -> Ordering
fn cmp(&self, other: &ConditionalPathOverlay) -> 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 PartialEq for ConditionalPathOverlay
impl PartialEq for ConditionalPathOverlay
Source§impl PartialOrd for ConditionalPathOverlay
impl PartialOrd for ConditionalPathOverlay
impl StructuralPartialEq for ConditionalPathOverlay
Auto Trait Implementations§
impl Freeze for ConditionalPathOverlay
impl RefUnwindSafe for ConditionalPathOverlay
impl Send for ConditionalPathOverlay
impl Sync for ConditionalPathOverlay
impl Unpin for ConditionalPathOverlay
impl UnsafeUnpin for ConditionalPathOverlay
impl UnwindSafe for ConditionalPathOverlay
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