pub struct DatabaseQuery {
pub sorts: Option<Vec<DatabaseSort>>,
pub filter: Option<FilterCondition>,
pub paging: Option<Paging>,
}
Fields§
§sorts: Option<Vec<DatabaseSort>>
§filter: Option<FilterCondition>
§paging: Option<Paging>
Trait Implementations§
Source§impl Clone for DatabaseQuery
impl Clone for DatabaseQuery
Source§fn clone(&self) -> DatabaseQuery
fn clone(&self) -> DatabaseQuery
Returns a copy 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 DatabaseQuery
impl Debug for DatabaseQuery
Source§impl Default for DatabaseQuery
impl Default for DatabaseQuery
Source§fn default() -> DatabaseQuery
fn default() -> DatabaseQuery
Returns the “default value” for a type. Read more
Source§impl Pageable for DatabaseQuery
impl Pageable for DatabaseQuery
fn start_from(self, starting_point: Option<PagingCursor>) -> Self
Source§impl PartialEq for DatabaseQuery
impl PartialEq for DatabaseQuery
Source§impl Serialize for DatabaseQuery
impl Serialize for DatabaseQuery
impl Eq for DatabaseQuery
impl StructuralPartialEq for DatabaseQuery
Auto Trait Implementations§
impl Freeze for DatabaseQuery
impl RefUnwindSafe for DatabaseQuery
impl Send for DatabaseQuery
impl Sync for DatabaseQuery
impl Unpin for DatabaseQuery
impl UnwindSafe for DatabaseQuery
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,
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.