pub struct QueryRequest<Q> {
pub tx: Arc<str>,
pub created_at: Arc<str>,
pub query: Q,
}Fields§
§tx: Arc<str>§created_at: Arc<str>§query: QImplementations§
Trait Implementations§
Source§impl<Q: QueryId + QueryItemType + Serialize + Debug + Send + Sync + 'static> AnyQuery for QueryRequest<Q>
impl<Q: QueryId + QueryItemType + Serialize + Debug + Send + Sync + 'static> AnyQuery for QueryRequest<Q>
Source§impl<Q: Clone> Clone for QueryRequest<Q>
impl<Q: Clone> Clone for QueryRequest<Q>
Source§fn clone(&self) -> QueryRequest<Q>
fn clone(&self) -> QueryRequest<Q>
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<Q: Debug> Debug for QueryRequest<Q>
impl<Q: Debug> Debug for QueryRequest<Q>
Source§impl<Q: Default> Default for QueryRequest<Q>
impl<Q: Default> Default for QueryRequest<Q>
Source§impl<'de, Q> Deserialize<'de> for QueryRequest<Q>where
Q: Deserialize<'de>,
impl<'de, Q> Deserialize<'de> for QueryRequest<Q>where
Q: Deserialize<'de>,
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
Source§impl<Q: Clone> From<&QueryRequest<Q>> for QueryRequest<Q>
impl<Q: Clone> From<&QueryRequest<Q>> for QueryRequest<Q>
Source§impl<Q: QueryParams> From<Q> for QueryRequest<Q>
impl<Q: QueryParams> From<Q> for QueryRequest<Q>
Source§impl<Q: QueryParams + Clone> Query for QueryRequest<Q>
impl<Q: QueryParams + Clone> Query for QueryRequest<Q>
fn watch( &self, client: &MykoClient, ) -> Cell<Vec<Arc<<Self as QueryItemType>::Item>>, CellImmutable>
Source§impl<Q: QueryHandler + Clone + Send + Sync + 'static> QueryHandler for QueryRequest<Q>
impl<Q: QueryHandler + Clone + Send + Sync + 'static> QueryHandler for QueryRequest<Q>
Source§fn test_entity(ctx: QueryTestContext<Self>) -> bool
fn test_entity(ctx: QueryTestContext<Self>) -> bool
Per-entity membership predicate. Read more
Source§fn build_view(
ctx: QueryBuildArgs<Self>,
) -> Option<impl MapQuery<Key = Arc<str>, Value = Arc<dyn AnyItem>>>
fn build_view( ctx: QueryBuildArgs<Self>, ) -> Option<impl MapQuery<Key = Arc<str>, Value = Arc<dyn AnyItem>>>
Optional set-wise reactive builder for complex many-to-many joins. Read more
Source§fn build_window(
_ctx: QueryWindowBuildArgs<Self>,
) -> Result<Option<WindowedQuerySource>, String>
fn build_window( _ctx: QueryWindowBuildArgs<Self>, ) -> Result<Option<WindowedQuerySource>, String>
Optional pushed-down builder for a bounded query window. Read more
Source§impl<Q: QueryIdStatic> QueryIdStatic for QueryRequest<Q>
impl<Q: QueryIdStatic> QueryIdStatic for QueryRequest<Q>
Source§impl<Q: QueryItemType> QueryItemType for QueryRequest<Q>
impl<Q: QueryItemType> QueryItemType for QueryRequest<Q>
Source§impl<Q> Serialize for QueryRequest<Q>where
Q: Serialize,
impl<Q> Serialize for QueryRequest<Q>where
Q: Serialize,
Auto Trait Implementations§
impl<Q> Freeze for QueryRequest<Q>where
Q: Freeze,
impl<Q> RefUnwindSafe for QueryRequest<Q>where
Q: RefUnwindSafe,
impl<Q> Send for QueryRequest<Q>where
Q: Send,
impl<Q> Sync for QueryRequest<Q>where
Q: Sync,
impl<Q> Unpin for QueryRequest<Q>where
Q: Unpin,
impl<Q> UnsafeUnpin for QueryRequest<Q>where
Q: UnsafeUnpin,
impl<Q> UnwindSafe for QueryRequest<Q>where
Q: 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
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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