#[non_exhaustive]pub struct TableConditionExpectation {
pub sql_expression: String,
/* private fields */
}Expand description
Evaluates whether the provided expression is true.
The SQL expression needs to use GoogleSQL syntax and should produce a scalar boolean result.
Example: MIN(col1) >= 0
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.sql_expression: StringOptional. The SQL expression.
Implementations§
Source§impl TableConditionExpectation
impl TableConditionExpectation
Sourcepub fn set_sql_expression<T: Into<String>>(self, v: T) -> Self
pub fn set_sql_expression<T: Into<String>>(self, v: T) -> Self
Sets the value of sql_expression.
§Example
ⓘ
let x = TableConditionExpectation::new().set_sql_expression("example");Trait Implementations§
Source§impl Clone for TableConditionExpectation
impl Clone for TableConditionExpectation
Source§fn clone(&self) -> TableConditionExpectation
fn clone(&self) -> TableConditionExpectation
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 TableConditionExpectation
impl Debug for TableConditionExpectation
Source§impl Default for TableConditionExpectation
impl Default for TableConditionExpectation
Source§fn default() -> TableConditionExpectation
fn default() -> TableConditionExpectation
Returns the “default value” for a type. Read more
Source§impl Message for TableConditionExpectation
impl Message for TableConditionExpectation
impl StructuralPartialEq for TableConditionExpectation
Auto Trait Implementations§
impl Freeze for TableConditionExpectation
impl RefUnwindSafe for TableConditionExpectation
impl Send for TableConditionExpectation
impl Sync for TableConditionExpectation
impl Unpin for TableConditionExpectation
impl UnsafeUnpin for TableConditionExpectation
impl UnwindSafe for TableConditionExpectation
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