pub enum Assertion {
NotNull {
column: String,
},
Unique {
column: String,
},
UniqueKey {
columns: Vec<String>,
},
AcceptedValues {
column: String,
values: Vec<String>,
},
}Expand description
Individual column assertion types for dbt-compatible model testing.
Variants§
NotNull
Unique
Single Utf8 column uniqueness (legacy; prefer UniqueKey for multi-type).
UniqueKey
Composite uniqueness across one or more columns (global over all batches).
AcceptedValues
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Assertion
impl RefUnwindSafe for Assertion
impl Send for Assertion
impl Sync for Assertion
impl Unpin for Assertion
impl UnsafeUnpin for Assertion
impl UnwindSafe for Assertion
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