#[non_exhaustive]pub struct DestroyedQueryChangesParams<'a, O: QueryObject> {
pub query_changes: QueryChangesParams<'a, O>,
pub destroyed_after: Option<&'a UTCDate>,
pub destroyed_before: Option<&'a UTCDate>,
}Expand description
The parameters of ObjectHistoryBackend::query_destroyed_changes: an
ordinary queryChanges plus the window the client passed to the
Foo/query (-04 §4).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.query_changes: QueryChangesParams<'a, O>sinceQueryState, filter, sort, maxChanges, upToId.
destroyed_after: Option<&'a UTCDate>destroyedAfter.
destroyed_before: Option<&'a UTCDate>destroyedBefore.
Implementations§
Source§impl<'a, O: QueryObject> DestroyedQueryChangesParams<'a, O>
impl<'a, O: QueryObject> DestroyedQueryChangesParams<'a, O>
Sourcepub fn new(query_changes: QueryChangesParams<'a, O>) -> Self
pub fn new(query_changes: QueryChangesParams<'a, O>) -> Self
query_changes with no window.
Sourcepub fn destroyed_after(self, t: Option<&'a UTCDate>) -> Self
pub fn destroyed_after(self, t: Option<&'a UTCDate>) -> Self
Set destroyed_after.
Sourcepub fn destroyed_before(self, t: Option<&'a UTCDate>) -> Self
pub fn destroyed_before(self, t: Option<&'a UTCDate>) -> Self
Set destroyed_before.
Auto Trait Implementations§
impl<'a, O> Forget for DestroyedQueryChangesParams<'a, O>
impl<'a, O> Freeze for DestroyedQueryChangesParams<'a, O>where
QueryChangesParams<'a, O>: Freeze,
impl<'a, O> Move for DestroyedQueryChangesParams<'a, O>
impl<'a, O> RefUnwindSafe for DestroyedQueryChangesParams<'a, O>where
QueryChangesParams<'a, O>: RefUnwindSafe,
impl<'a, O> Send for DestroyedQueryChangesParams<'a, O>where
QueryChangesParams<'a, O>: Send,
impl<'a, O> Sync for DestroyedQueryChangesParams<'a, O>where
QueryChangesParams<'a, O>: Sync,
impl<'a, O> Unpin for DestroyedQueryChangesParams<'a, O>where
QueryChangesParams<'a, O>: Unpin,
impl<'a, O> UnsafeUnpin for DestroyedQueryChangesParams<'a, O>where
QueryChangesParams<'a, O>: UnsafeUnpin,
impl<'a, O> UnwindSafe for DestroyedQueryChangesParams<'a, O>where
QueryChangesParams<'a, O>: 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