[][src]Trait azure_sdk_cosmos::CollectionClient

pub trait CollectionClient<C, D>: HasDatabaseClient<C, D> where
    C: CosmosClient,
    D: DatabaseClient<C>, 
{ fn collection_name(&self) -> &str;
fn get_collection(&self) -> GetCollectionBuilder<C, D>;
fn delete_collection(&self) -> DeleteCollectionBuilder<C, D>;
fn replace_collection(&self) -> ReplaceCollectionBuilder<C, D, No, No>;
fn list_triggers(&self) -> ListTriggersBuilder<C, D>;
fn list_stored_procedures(&self) -> ListStoredProceduresBuilder<C, D>;
fn list_user_defined_functions(
        &self
    ) -> ListUserDefinedFunctionsBuilder<C, D>;
fn create_document(&self) -> CreateDocumentBuilder<C, D, No>;
fn replace_document(&self) -> ReplaceDocumentBuilder<C, D, No, No>;
fn list_documents(&self) -> ListDocumentsBuilder<C, D>;
fn query_documents(&self) -> QueryDocumentsBuilder<C, D, No>;
fn get_partition_key_ranges(&self) -> GetPartitionKeyRangesBuilder<C, D>; fn prepare_request(&self, method: Method) -> Builder { ... }
fn prepare_request_with_collection_name(&self, method: Method) -> Builder { ... } }

Required methods

Loading content...

Provided methods

Loading content...

Implementors

Loading content...