#[non_exhaustive]pub struct SetExpectation {
pub values: Vec<String>,
/* private fields */
}Expand description
Evaluates whether each column value is contained by a specified set.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.values: Vec<String>Optional. Expected values for the column value.
Implementations§
Source§impl SetExpectation
impl SetExpectation
Sourcepub fn set_values<T, V>(self, v: T) -> Self
pub fn set_values<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for SetExpectation
impl Clone for SetExpectation
Source§fn clone(&self) -> SetExpectation
fn clone(&self) -> SetExpectation
Returns a duplicate of the value. Read more
1.0.0 · 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 SetExpectation
impl Debug for SetExpectation
Source§impl Default for SetExpectation
impl Default for SetExpectation
Source§fn default() -> SetExpectation
fn default() -> SetExpectation
Returns the “default value” for a type. Read more
Source§impl Message for SetExpectation
impl Message for SetExpectation
Source§impl PartialEq for SetExpectation
impl PartialEq for SetExpectation
impl StructuralPartialEq for SetExpectation
Auto Trait Implementations§
impl Freeze for SetExpectation
impl RefUnwindSafe for SetExpectation
impl Send for SetExpectation
impl Sync for SetExpectation
impl Unpin for SetExpectation
impl UnsafeUnpin for SetExpectation
impl UnwindSafe for SetExpectation
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