#[non_exhaustive]pub struct RowConditionExpectation {
pub sql_expression: String,
/* private fields */
}Expand description
Evaluates whether each row passes the specified condition.
The SQL expression needs to use GoogleSQL syntax and should produce a boolean value per row as the result.
Example: col1 >= 0 AND col2 < 10
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 RowConditionExpectation
impl RowConditionExpectation
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 = RowConditionExpectation::new().set_sql_expression("example");Trait Implementations§
Source§impl Clone for RowConditionExpectation
impl Clone for RowConditionExpectation
Source§fn clone(&self) -> RowConditionExpectation
fn clone(&self) -> RowConditionExpectation
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 RowConditionExpectation
impl Debug for RowConditionExpectation
Source§impl Default for RowConditionExpectation
impl Default for RowConditionExpectation
Source§fn default() -> RowConditionExpectation
fn default() -> RowConditionExpectation
Returns the “default value” for a type. Read more
Source§impl Message for RowConditionExpectation
impl Message for RowConditionExpectation
Source§impl PartialEq for RowConditionExpectation
impl PartialEq for RowConditionExpectation
impl StructuralPartialEq for RowConditionExpectation
Auto Trait Implementations§
impl Freeze for RowConditionExpectation
impl RefUnwindSafe for RowConditionExpectation
impl Send for RowConditionExpectation
impl Sync for RowConditionExpectation
impl Unpin for RowConditionExpectation
impl UnsafeUnpin for RowConditionExpectation
impl UnwindSafe for RowConditionExpectation
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