pub struct QueryChangesRequest<O: QueryObject> { /* private fields */ }
Implementations§
Source§impl<O: QueryObject> QueryChangesRequest<O>
impl<O: QueryObject> QueryChangesRequest<O>
pub fn new(params: RequestParams, since_query_state: String) -> Self
pub fn account_id(&mut self, account_id: impl Into<String>) -> &mut Self
pub fn filter(&mut self, filter: impl Into<Filter<O::Filter>>) -> &mut Self
pub fn sort( &mut self, sort: impl IntoIterator<Item = Comparator<O::Sort>>, ) -> &mut Self
pub fn max_changes(&mut self, max_changes: usize) -> &mut Self
pub fn up_to_id(&mut self, up_to_id: impl Into<String>) -> &mut Self
pub fn calculate_total(&mut self, calculate_total: bool) -> &mut Self
pub fn arguments(&mut self) -> &mut O::QueryArguments
Trait Implementations§
Source§impl<O: Clone + QueryObject> Clone for QueryChangesRequest<O>
impl<O: Clone + QueryObject> Clone for QueryChangesRequest<O>
Source§fn clone(&self) -> QueryChangesRequest<O>
fn clone(&self) -> QueryChangesRequest<O>
Returns a duplicate 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<O: Debug + QueryObject> Debug for QueryChangesRequest<O>
impl<O: Debug + QueryObject> Debug for QueryChangesRequest<O>
Source§impl<O: QueryObject> Serialize for QueryChangesRequest<O>where
O::QueryArguments: Serialize,
impl<O: QueryObject> Serialize for QueryChangesRequest<O>where
O::QueryArguments: Serialize,
Auto Trait Implementations§
impl<O> Freeze for QueryChangesRequest<O>
impl<O> RefUnwindSafe for QueryChangesRequest<O>where
<O as QueryObject>::QueryArguments: RefUnwindSafe,
<O as QueryObject>::Filter: RefUnwindSafe,
<O as QueryObject>::Sort: RefUnwindSafe,
impl<O> Send for QueryChangesRequest<O>where
<O as QueryObject>::QueryArguments: Send,
<O as QueryObject>::Filter: Send,
<O as QueryObject>::Sort: Send,
impl<O> Sync for QueryChangesRequest<O>where
<O as QueryObject>::QueryArguments: Sync,
<O as QueryObject>::Filter: Sync,
<O as QueryObject>::Sort: Sync,
impl<O> Unpin for QueryChangesRequest<O>where
<O as QueryObject>::QueryArguments: Unpin,
<O as QueryObject>::Filter: Unpin,
<O as QueryObject>::Sort: Unpin,
impl<O> UnwindSafe for QueryChangesRequest<O>where
<O as QueryObject>::QueryArguments: UnwindSafe,
<O as QueryObject>::Filter: UnwindSafe,
<O as QueryObject>::Sort: UnwindSafe,
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