Trait FirestoreAggregatedQuerySupport

Source
pub trait FirestoreAggregatedQuerySupport {
    // Required methods
    fn aggregated_query_doc<'life0, 'async_trait>(
        &'life0 self,
        params: FirestoreAggregatedQueryParams,
    ) -> Pin<Box<dyn Future<Output = FirestoreResult<Vec<Document>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn stream_aggregated_query_doc<'b, 'life0, 'async_trait>(
        &'life0 self,
        params: FirestoreAggregatedQueryParams,
    ) -> Pin<Box<dyn Future<Output = FirestoreResult<BoxStream<'b, Document>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'b: 'async_trait,
             'life0: 'async_trait;
    fn stream_aggregated_query_doc_with_errors<'b, 'life0, 'async_trait>(
        &'life0 self,
        params: FirestoreAggregatedQueryParams,
    ) -> Pin<Box<dyn Future<Output = FirestoreResult<BoxStream<'b, FirestoreResult<Document>>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'b: 'async_trait,
             'life0: 'async_trait;
    fn aggregated_query_obj<'life0, 'async_trait, T>(
        &'life0 self,
        params: FirestoreAggregatedQueryParams,
    ) -> Pin<Box<dyn Future<Output = FirestoreResult<Vec<T>>> + Send + 'async_trait>>
       where for<'de> T: Deserialize<'de> + 'async_trait,
             Self: 'async_trait,
             'life0: 'async_trait;
    fn stream_aggregated_query_obj<'b, 'life0, 'async_trait, T>(
        &'life0 self,
        params: FirestoreAggregatedQueryParams,
    ) -> Pin<Box<dyn Future<Output = FirestoreResult<BoxStream<'b, T>>> + Send + 'async_trait>>
       where for<'de> T: Deserialize<'de> + 'async_trait,
             Self: 'async_trait,
             'b: 'async_trait,
             'life0: 'async_trait;
    fn stream_aggregated_query_obj_with_errors<'b, 'life0, 'async_trait, T>(
        &'life0 self,
        params: FirestoreAggregatedQueryParams,
    ) -> Pin<Box<dyn Future<Output = FirestoreResult<BoxStream<'b, FirestoreResult<T>>>> + Send + 'async_trait>>
       where for<'de> T: Deserialize<'de> + Send + 'b + 'async_trait,
             Self: 'async_trait,
             'b: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn aggregated_query_doc<'life0, 'async_trait>( &'life0 self, params: FirestoreAggregatedQueryParams, ) -> Pin<Box<dyn Future<Output = FirestoreResult<Vec<Document>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn stream_aggregated_query_doc<'b, 'life0, 'async_trait>( &'life0 self, params: FirestoreAggregatedQueryParams, ) -> Pin<Box<dyn Future<Output = FirestoreResult<BoxStream<'b, Document>>> + Send + 'async_trait>>
where Self: 'async_trait, 'b: 'async_trait, 'life0: 'async_trait,

Source

fn stream_aggregated_query_doc_with_errors<'b, 'life0, 'async_trait>( &'life0 self, params: FirestoreAggregatedQueryParams, ) -> Pin<Box<dyn Future<Output = FirestoreResult<BoxStream<'b, FirestoreResult<Document>>>> + Send + 'async_trait>>
where Self: 'async_trait, 'b: 'async_trait, 'life0: 'async_trait,

Source

fn aggregated_query_obj<'life0, 'async_trait, T>( &'life0 self, params: FirestoreAggregatedQueryParams, ) -> Pin<Box<dyn Future<Output = FirestoreResult<Vec<T>>> + Send + 'async_trait>>
where for<'de> T: Deserialize<'de> + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

Source

fn stream_aggregated_query_obj<'b, 'life0, 'async_trait, T>( &'life0 self, params: FirestoreAggregatedQueryParams, ) -> Pin<Box<dyn Future<Output = FirestoreResult<BoxStream<'b, T>>> + Send + 'async_trait>>
where for<'de> T: Deserialize<'de> + 'async_trait, Self: 'async_trait, 'b: 'async_trait, 'life0: 'async_trait,

Source

fn stream_aggregated_query_obj_with_errors<'b, 'life0, 'async_trait, T>( &'life0 self, params: FirestoreAggregatedQueryParams, ) -> Pin<Box<dyn Future<Output = FirestoreResult<BoxStream<'b, FirestoreResult<T>>>> + Send + 'async_trait>>
where for<'de> T: Deserialize<'de> + Send + 'b + 'async_trait, Self: 'async_trait, 'b: 'async_trait, 'life0: 'async_trait,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§