pub struct RowCountTest {
pub comparison: Option<String>,
pub threshold: Option<i64>,
}Expand description
A test that checks if the number of rows in the result set violates some threshold.
This type is not used in any activity, and only used as part of another schema.
Fields§
§comparison: Option<String>Required. The comparison to apply between the number of rows returned by the query and the threshold.
threshold: Option<i64>Required. The value against which to compare the row count.
Trait Implementations§
Source§impl Clone for RowCountTest
impl Clone for RowCountTest
Source§fn clone(&self) -> RowCountTest
fn clone(&self) -> RowCountTest
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 RowCountTest
impl Debug for RowCountTest
Source§impl Default for RowCountTest
impl Default for RowCountTest
Source§fn default() -> RowCountTest
fn default() -> RowCountTest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RowCountTest
impl<'de> Deserialize<'de> for RowCountTest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for RowCountTest
impl Serialize for RowCountTest
impl Part for RowCountTest
Auto Trait Implementations§
impl Freeze for RowCountTest
impl RefUnwindSafe for RowCountTest
impl Send for RowCountTest
impl Sync for RowCountTest
impl Unpin for RowCountTest
impl UnwindSafe for RowCountTest
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