pub struct SqlxAssertions {
pub unique_key: Vec<String>,
pub unique_keys: Vec<Vec<String>>,
pub non_null: Vec<String>,
pub row_conditions: Vec<String>,
}Expand description
The assertions: {...} block.
Fields§
§unique_key: Vec<String>§unique_keys: Vec<Vec<String>>§non_null: Vec<String>§row_conditions: Vec<String>Trait Implementations§
Source§impl Clone for SqlxAssertions
impl Clone for SqlxAssertions
Source§impl Debug for SqlxAssertions
impl Debug for SqlxAssertions
Source§impl Default for SqlxAssertions
impl Default for SqlxAssertions
Source§impl<'de> Deserialize<'de> for SqlxAssertions
impl<'de> Deserialize<'de> for SqlxAssertions
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
impl Eq for SqlxAssertions
Source§impl PartialEq for SqlxAssertions
impl PartialEq for SqlxAssertions
Source§impl Serialize for SqlxAssertions
impl Serialize for SqlxAssertions
impl StructuralPartialEq for SqlxAssertions
Auto Trait Implementations§
impl Forget for SqlxAssertions
impl Freeze for SqlxAssertions
impl Move for SqlxAssertions
impl RefUnwindSafe for SqlxAssertions
impl Send for SqlxAssertionswhere
RawVecInner: Send,
impl Sync for SqlxAssertionswhere
RawVecInner: Sync,
impl Unpin for SqlxAssertions
impl UnsafeUnpin for SqlxAssertionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Vec<String>>: UnsafeUnpin,
impl UnwindSafe for SqlxAssertionswhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.