Struct notion_wasi::models::search::DatabaseQuery
source · 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<DatabaseQuery> for DatabaseQuery
impl PartialEq<DatabaseQuery> for DatabaseQuery
source§fn eq(&self, other: &DatabaseQuery) -> bool
fn eq(&self, other: &DatabaseQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DatabaseQuery
impl Serialize for DatabaseQuery
impl Eq for DatabaseQuery
impl StructuralEq for DatabaseQuery
impl StructuralPartialEq for DatabaseQuery
Auto Trait Implementations§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.