pub struct CountComments(pub CommentQuery);Tuple Fields§
§0: CommentQueryTrait Implementations§
Source§impl CacheKey for CountComments
impl CacheKey for CountComments
Source§impl Clone for CountComments
impl Clone for CountComments
Source§fn clone(&self) -> CountComments
fn clone(&self) -> CountComments
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 CountComments
impl Debug for CountComments
Source§impl<'de> Deserialize<'de> for CountComments
impl<'de> Deserialize<'de> for CountComments
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 ReportHandler for CountComments
impl ReportHandler for CountComments
type Output = CommentCount
Source§fn compute(
&self,
ctx: ReportContext,
) -> impl Materialize<Arc<Self::Output>, Definite>
fn compute( &self, ctx: ReportContext, ) -> impl Materialize<Arc<Self::Output>, Definite>
Compute the report output as a reactive pipeline. Read more
Source§impl ReportIdStatic for CountComments
impl ReportIdStatic for CountComments
fn report_id_static() -> &'static str
Source§impl ReportOutputType for CountComments
impl ReportOutputType for CountComments
type Output = CommentCount
Auto Trait Implementations§
impl Freeze for CountComments
impl RefUnwindSafe for CountComments
impl Send for CountComments
impl Sync for CountComments
impl Unpin for CountComments
impl UnsafeUnpin for CountComments
impl UnwindSafe for CountComments
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 moreSource§impl<T> JoinKeyFrom<T> for Twhere
T: Clone,
impl<T> JoinKeyFrom<T> for Twhere
T: Clone,
fn join_key_from(value: &T) -> T
Source§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> RegisteredType for Twhere
T: 'static,
Source§impl<R> ReportFactory for Rwhere
R: ReportParams,
impl<R> ReportFactory for Rwhere
R: ReportParams,
Source§fn parse(value: Value) -> Result<Arc<dyn AnyReport>, Error>
fn parse(value: Value) -> Result<Arc<dyn AnyReport>, Error>
Parse JSON into this report type. Read more
Source§fn cell_factory(
any_report: Arc<dyn AnyReport>,
request_ctx: Arc<RequestContext>,
server_ctx: Arc<MykoServerContext>,
) -> Result<Cell<Arc<dyn AnyOutput>, CellImmutable>, String>
fn cell_factory( any_report: Arc<dyn AnyReport>, request_ctx: Arc<RequestContext>, server_ctx: Arc<MykoServerContext>, ) -> Result<Cell<Arc<dyn AnyOutput>, CellImmutable>, String>
Create a reactive cell for this report. Read more