pub struct Row<'a> {
pub values: Vec<DatabaseValue<'a>>,
}Expand description
A collection of values surrounded by parentheses.
Fields§
§values: Vec<DatabaseValue<'a>>Implementations§
Trait Implementations§
Source§impl<'a> Comparable<'a> for Row<'a>
impl<'a> Comparable<'a> for Row<'a>
Source§fn equals<T>(self, comparison: T) -> Compare<'a>where
T: Into<DatabaseValue<'a>>,
fn equals<T>(self, comparison: T) -> Compare<'a>where
T: Into<DatabaseValue<'a>>,
Tests if both sides are the same value. Read more
Source§fn not_equals<T>(self, comparison: T) -> Compare<'a>where
T: Into<DatabaseValue<'a>>,
fn not_equals<T>(self, comparison: T) -> Compare<'a>where
T: Into<DatabaseValue<'a>>,
Tests if both sides are not the same value. Read more
Source§fn less_than<T>(self, comparison: T) -> Compare<'a>where
T: Into<DatabaseValue<'a>>,
fn less_than<T>(self, comparison: T) -> Compare<'a>where
T: Into<DatabaseValue<'a>>,
Tests if the left side is smaller than the right side. Read more
Source§fn less_than_or_equals<T>(self, comparison: T) -> Compare<'a>where
T: Into<DatabaseValue<'a>>,
fn less_than_or_equals<T>(self, comparison: T) -> Compare<'a>where
T: Into<DatabaseValue<'a>>,
Tests if the left side is smaller than the right side or the same. Read more
Source§fn greater_than<T>(self, comparison: T) -> Compare<'a>where
T: Into<DatabaseValue<'a>>,
fn greater_than<T>(self, comparison: T) -> Compare<'a>where
T: Into<DatabaseValue<'a>>,
Tests if the left side is bigger than the right side. Read more
Source§fn greater_than_or_equals<T>(self, comparison: T) -> Compare<'a>where
T: Into<DatabaseValue<'a>>,
fn greater_than_or_equals<T>(self, comparison: T) -> Compare<'a>where
T: Into<DatabaseValue<'a>>,
Tests if the left side is bigger than the right side or the same. Read more
Source§fn in_selection<T>(self, selection: T) -> Compare<'a>where
T: Into<DatabaseValue<'a>>,
fn in_selection<T>(self, selection: T) -> Compare<'a>where
T: Into<DatabaseValue<'a>>,
Tests if the left side is included in the right side collection. Read more
Source§fn not_in_selection<T>(self, selection: T) -> Compare<'a>where
T: Into<DatabaseValue<'a>>,
fn not_in_selection<T>(self, selection: T) -> Compare<'a>where
T: Into<DatabaseValue<'a>>,
Tests if the left side is not included in the right side collection. Read more
Source§fn like<T>(self, pattern: T) -> Compare<'a>
fn like<T>(self, pattern: T) -> Compare<'a>
Tests if the left side includes the right side string. Read more
Source§fn not_like<T>(self, pattern: T) -> Compare<'a>
fn not_like<T>(self, pattern: T) -> Compare<'a>
Tests if the left side does not include the right side string. Read more
Source§fn begins_with<T>(self, pattern: T) -> Compare<'a>
fn begins_with<T>(self, pattern: T) -> Compare<'a>
Tests if the left side starts with the right side string. Read more
Source§fn not_begins_with<T>(self, pattern: T) -> Compare<'a>
fn not_begins_with<T>(self, pattern: T) -> Compare<'a>
Tests if the left side doesn’t start with the right side string. Read more
Source§fn ends_into<T>(self, pattern: T) -> Compare<'a>
fn ends_into<T>(self, pattern: T) -> Compare<'a>
Tests if the left side ends into the right side string. Read more
Source§fn not_ends_into<T>(self, pattern: T) -> Compare<'a>
fn not_ends_into<T>(self, pattern: T) -> Compare<'a>
Tests if the left side does not end into the right side string. Read more
Source§fn is_not_null(self) -> Compare<'a>
fn is_not_null(self) -> Compare<'a>
Tests if the left side is not
NULL. Read moreSource§fn between<T, V>(self, left: T, right: V) -> Compare<'a>
fn between<T, V>(self, left: T, right: V) -> Compare<'a>
Tests if the value is between two given values. Read more
Source§fn not_between<T, V>(self, left: T, right: V) -> Compare<'a>
fn not_between<T, V>(self, left: T, right: V) -> Compare<'a>
Tests if the value is not between two given values. Read more
Source§impl<'a, A, B, C, D> From<(A, B, C, D)> for Row<'a>where
A: Into<DatabaseValue<'a>>,
B: Into<DatabaseValue<'a>>,
C: Into<DatabaseValue<'a>>,
D: Into<DatabaseValue<'a>>,
impl<'a, A, B, C, D> From<(A, B, C, D)> for Row<'a>where
A: Into<DatabaseValue<'a>>,
B: Into<DatabaseValue<'a>>,
C: Into<DatabaseValue<'a>>,
D: Into<DatabaseValue<'a>>,
Source§fn from(vals: (A, B, C, D)) -> Self
fn from(vals: (A, B, C, D)) -> Self
Converts to this type from the input type.
Source§impl<'a, A, B, C, D, E> From<(A, B, C, D, E)> for Row<'a>where
A: Into<DatabaseValue<'a>>,
B: Into<DatabaseValue<'a>>,
C: Into<DatabaseValue<'a>>,
D: Into<DatabaseValue<'a>>,
E: Into<DatabaseValue<'a>>,
impl<'a, A, B, C, D, E> From<(A, B, C, D, E)> for Row<'a>where
A: Into<DatabaseValue<'a>>,
B: Into<DatabaseValue<'a>>,
C: Into<DatabaseValue<'a>>,
D: Into<DatabaseValue<'a>>,
E: Into<DatabaseValue<'a>>,
Source§fn from(vals: (A, B, C, D, E)) -> Self
fn from(vals: (A, B, C, D, E)) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Row<'a>> for DatabaseValue<'a>
impl<'a> From<Row<'a>> for DatabaseValue<'a>
impl<'a> StructuralPartialEq for Row<'a>
Auto Trait Implementations§
impl<'a> Freeze for Row<'a>
impl<'a> RefUnwindSafe for Row<'a>
impl<'a> Send for Row<'a>
impl<'a> Sync for Row<'a>
impl<'a> Unpin for Row<'a>
impl<'a> UnsafeUnpin for Row<'a>
impl<'a> UnwindSafe for Row<'a>
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