pub struct SplitWhereResult {
pub lower_bound: NaiveDate,
pub remaining: Option<WhereClause>,
}Expand description
Result of splitting a WHERE clause into its date lower-bound condition and the remaining (non-date) conditions.
Produced by split_where_clause.
Fields§
§lower_bound: NaiveDateThe inclusive lower-bound date extracted from the WHERE clause.
remaining: Option<WhereClause>Everything except the matched date condition. None when the entire
WHERE clause was just the date condition (nothing left).
Trait Implementations§
Source§impl Clone for SplitWhereResult
impl Clone for SplitWhereResult
Source§fn clone(&self) -> SplitWhereResult
fn clone(&self) -> SplitWhereResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SplitWhereResult
impl Debug for SplitWhereResult
Source§impl PartialEq for SplitWhereResult
impl PartialEq for SplitWhereResult
Source§fn eq(&self, other: &SplitWhereResult) -> bool
fn eq(&self, other: &SplitWhereResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SplitWhereResult
Auto Trait Implementations§
impl Freeze for SplitWhereResult
impl RefUnwindSafe for SplitWhereResult
impl Send for SplitWhereResult
impl Sync for SplitWhereResult
impl Unpin for SplitWhereResult
impl UnsafeUnpin for SplitWhereResult
impl UnwindSafe for SplitWhereResult
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