[−][src]Struct format_sql_query::Predicates
Collection of boolean predicates.
Methods
impl Predicates
[src]
pub fn new() -> Predicates
[src]
Create empty collection.
pub fn from<S: Display + 'static>(predicate: S) -> Predicates
[src]
Creates collection containing given predicate.
pub fn from_all<S, I, IT>(predicates: I) -> Self where
S: Display + 'static,
I: IntoIterator<Item = S, IntoIter = IT>,
IT: Iterator<Item = S>,
[src]
S: Display + 'static,
I: IntoIterator<Item = S, IntoIter = IT>,
IT: Iterator<Item = S>,
Crates collection containing given predicates.
pub fn as_where<'s>(&'s self) -> PredicateStatement<'s>
[src]
Gets WHERE statement with predicates.
pub fn and_push<S: Display + 'static>(&mut self, predicate: S)
[src]
Appends predicate.
pub fn and_extend<S, I, IT>(&mut self, predicates: I) where
S: Display + 'static,
I: IntoIterator<Item = S, IntoIter = IT>,
IT: Iterator<Item = S>,
[src]
S: Display + 'static,
I: IntoIterator<Item = S, IntoIter = IT>,
IT: Iterator<Item = S>,
Appends all predicates.
pub fn and<S: Display + 'static>(self, predicate: S) -> Self
[src]
Appends predicate with fluid API.
pub fn and_all<S, I, IT>(self, predicates: I) -> Self where
S: Display + 'static,
I: IntoIterator<Item = S, IntoIter = IT>,
IT: Iterator<Item = S>,
[src]
S: Display + 'static,
I: IntoIterator<Item = S, IntoIter = IT>,
IT: Iterator<Item = S>,
Appends all predicates with fluid API.
Trait Implementations
impl IntoIterator for Predicates
[src]
Auto Trait Implementations
impl !Send for Predicates
impl !Sync for Predicates
impl Unpin for Predicates
impl !UnwindSafe for Predicates
impl !RefUnwindSafe for Predicates
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,