pub struct QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>{ /* private fields */ }
Implementations§
Source§impl<'a, 'b, C, D> QueryDocumentsBuilder<'a, 'b, C, D, Yes>where
C: CosmosClient,
D: DatabaseClient<C>,
impl<'a, 'b, C, D> QueryDocumentsBuilder<'a, 'b, C, D, Yes>where
C: CosmosClient,
D: DatabaseClient<C>,
pub async fn execute<T>(&self) -> Result<QueryDocumentsResponse<T>, AzureError>where
T: DeserializeOwned,
pub fn stream<T>(
&self,
) -> impl Stream<Item = Result<QueryDocumentsResponse<T>, AzureError>> + '_where
T: DeserializeOwned,
Trait Implementations§
Source§impl<'a, 'b, C, D, QuerySet> ActivityIdOption<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> ActivityIdOption<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn activity_id(&self) -> Option<&'b str>
fn add_header(&self, builder: Builder) -> Builder
Source§impl<'a, 'b, C, D, QuerySet> ActivityIdSupport<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> ActivityIdSupport<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
type O = QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn with_activity_id(self, activity_id: &'b str) -> Self::O
Source§impl<'a, 'b, C, D, QuerySet> Clone for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> Clone for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
Source§impl<'a, 'b, C, D, QuerySet> CollectionClientRequired<'a, C, D> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> CollectionClientRequired<'a, C, D> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn collection_client(&self) -> &'a dyn CollectionClient<C, D>
Source§impl<'a, 'b, C, D, QuerySet> ConsistencyLevelOption<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> ConsistencyLevelOption<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn consistency_level(&self) -> Option<ConsistencyLevel<'b>>
fn add_header(&self, builder: Builder) -> Builder
Source§impl<'a, 'b, C, D, QuerySet> ConsistencyLevelSupport<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> ConsistencyLevelSupport<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
type O = QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn with_consistency_level( self, consistency_level: ConsistencyLevel<'b>, ) -> Self::O
Source§impl<'a, 'b, C, D, QuerySet> ContinuationOption<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> ContinuationOption<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn continuation(&self) -> Option<&'b str>
fn add_header(&self, builder: Builder) -> Builder
Source§impl<'a, 'b, C, D, QuerySet> ContinuationSupport<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> ContinuationSupport<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
type O = QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn with_continuation(self, continuation: &'b str) -> Self::O
Source§impl<'a, 'b, C, D, QuerySet> Debug for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> Debug for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
Source§impl<'a, 'b, C, D, QuerySet> IfMatchConditionOption<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> IfMatchConditionOption<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn if_match_condition(&self) -> Option<IfMatchCondition<'b>>
fn add_header(&self, builder: Builder) -> Builder
Source§impl<'a, 'b, C, D, QuerySet> IfMatchConditionSupport<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> IfMatchConditionSupport<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
type O = QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn with_if_match_condition( self, if_match_condition: IfMatchCondition<'b>, ) -> Self::O
Source§impl<'a, 'b, C, D, QuerySet> IfModifiedSinceOption<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> IfModifiedSinceOption<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
Source§impl<'a, 'b, C, D, QuerySet> IfModifiedSinceSupport<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> IfModifiedSinceSupport<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
type O = QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn with_if_modified_since(self, if_modified_since: &'b DateTime<Utc>) -> Self::O
Source§impl<'a, 'b, C, D, QuerySet> MaxItemCountOption for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> MaxItemCountOption for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn max_item_count(&self) -> i32
fn add_header(&self, builder: Builder) -> Builder
Source§impl<'a, 'b, C, D, QuerySet> MaxItemCountSupport for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> MaxItemCountSupport for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
type O = QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn with_max_item_count(self, max_item_count: i32) -> Self::O
Source§impl<'a, 'b, C, D, QuerySet> ParallelizeCrossPartitionQueryOption for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> ParallelizeCrossPartitionQueryOption for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn parallelize_cross_partition_query(&self) -> bool
fn add_header(&self, builder: Builder) -> Builder
Source§impl<'a, 'b, C, D, QuerySet> ParallelizeCrossPartitionQuerySupport for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> ParallelizeCrossPartitionQuerySupport for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
type O = QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn with_parallelize_cross_partition_query( self, parallelize_cross_partition_query: bool, ) -> Self::O
Source§impl<'a, 'b, C, D, QuerySet> PartitionKeysOption<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> PartitionKeysOption<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn partition_keys(&self) -> Option<&'b PartitionKeys>
fn add_header(&self, builder: Builder) -> Builder
Source§impl<'a, 'b, C, D, QuerySet> PartitionKeysSupport<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> PartitionKeysSupport<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
type O = QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn with_partition_keys(self, partition_keys: &'b PartitionKeys) -> Self::O
Source§impl<'a, 'b, C, D, QuerySet> QueryCrossPartitionOption for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> QueryCrossPartitionOption for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn query_cross_partition(&self) -> bool
fn add_header(&self, builder: Builder) -> Builder
Source§impl<'a, 'b, C, D, QuerySet> QueryCrossPartitionSupport for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> QueryCrossPartitionSupport for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
type O = QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn with_query_cross_partition(self, query_cross_partition: bool) -> Self::O
Source§impl<'a, 'b, C, D> QueryRequired<'b> for QueryDocumentsBuilder<'a, 'b, C, D, Yes>where
C: CosmosClient,
D: DatabaseClient<C>,
impl<'a, 'b, C, D> QueryRequired<'b> for QueryDocumentsBuilder<'a, 'b, C, D, Yes>where
C: CosmosClient,
D: DatabaseClient<C>,
Source§impl<'a, 'b, C, D> QuerySupport<'b> for QueryDocumentsBuilder<'a, 'b, C, D, No>where
C: CosmosClient,
D: DatabaseClient<C>,
impl<'a, 'b, C, D> QuerySupport<'b> for QueryDocumentsBuilder<'a, 'b, C, D, No>where
C: CosmosClient,
D: DatabaseClient<C>,
type O = QueryDocumentsBuilder<'a, 'b, C, D, Yes>
fn with_query(self, query: &'b Query<'b>) -> Self::O
Source§impl<'a, 'b, C, D, QuerySet> UserAgentOption<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> UserAgentOption<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn user_agent(&self) -> Option<&'b str>
fn add_header(&self, builder: Builder) -> Builder
Source§impl<'a, 'b, C, D, QuerySet> UserAgentSupport<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> UserAgentSupport<'b> for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
type O = QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
fn with_user_agent(self, user_agent: &'b str) -> Self::O
Auto Trait Implementations§
impl<'a, 'b, C, D, QuerySet> Freeze for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> !RefUnwindSafe for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
impl<'a, 'b, C, D, QuerySet> Send for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>where
QuerySet: Send,
impl<'a, 'b, C, D, QuerySet> Sync for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>where
QuerySet: Sync,
impl<'a, 'b, C, D, QuerySet> Unpin for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>where
QuerySet: Unpin,
impl<'a, 'b, C, D, QuerySet> !UnwindSafe for QueryDocumentsBuilder<'a, 'b, C, D, QuerySet>
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