pub struct QueryResponse {
pub changes: Vec<QueryChange>,
pub deletes: Vec<Arc<str>>,
pub upserts: Vec<ErasedWrappedItem>,
pub sequence: u64,
pub tx: Arc<str>,
pub total_count: Option<usize>,
pub window: Option<QueryWindow>,
}Fields§
§changes: Vec<QueryChange>§deletes: Vec<Arc<str>>§upserts: Vec<ErasedWrappedItem>§sequence: u64§tx: Arc<str>§total_count: Option<usize>§window: Option<QueryWindow>Implementations§
Source§impl QueryResponse
impl QueryResponse
Trait Implementations§
Source§impl Clone for QueryResponse
impl Clone for QueryResponse
Source§fn clone(&self) -> QueryResponse
fn clone(&self) -> QueryResponse
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 QueryResponse
impl Debug for QueryResponse
Source§impl<'de> Deserialize<'de> for QueryResponse
Custom Deserialize for QueryResponse: deserializes using Value-based items,
then parses each through the item registry to produce Arc.
Falls back to a no-op AnyItem wrapper when running on the client side (WASM)
or when the item type is unknown.
impl<'de> Deserialize<'de> for QueryResponse
Custom Deserialize for QueryResponse: deserializes using Value-based items,
then parses each through the item registry to produce Arc
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for QueryResponse
impl !UnwindSafe for QueryResponse
impl Freeze for QueryResponse
impl Send for QueryResponse
impl Sync for QueryResponse
impl Unpin for QueryResponse
impl UnsafeUnpin for QueryResponse
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more