pub struct SourceValueUse {
pub path: String,
pub rule_kind: String,
}Expand description
One place a resolved model’s rules persist literal values that originated in the source dump. Carries only the location and the rule kind — never the values themselves — so it is always safe to surface in a report.
Fields§
§path: StringPath to the rule, e.g. tables.users.columns.status.
rule_kind: StringThe rule kind that carries the literal(s): a generator kind such as
weighted_choice/constant/observed_sample, or the synthetic kinds
source_default/check_constraint.
Trait Implementations§
Source§impl Clone for SourceValueUse
impl Clone for SourceValueUse
Source§fn clone(&self) -> SourceValueUse
fn clone(&self) -> SourceValueUse
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 SourceValueUse
impl Debug for SourceValueUse
impl Eq for SourceValueUse
Source§impl PartialEq for SourceValueUse
impl PartialEq for SourceValueUse
impl StructuralPartialEq for SourceValueUse
Auto Trait Implementations§
impl Freeze for SourceValueUse
impl RefUnwindSafe for SourceValueUse
impl Send for SourceValueUse
impl Sync for SourceValueUse
impl Unpin for SourceValueUse
impl UnsafeUnpin for SourceValueUse
impl UnwindSafe for SourceValueUse
Blanket Implementations§
impl<T> Allocation for T
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> 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§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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more