pub struct DocumentStruct<'a, 'b, C, D, COLL>{ /* private fields */ }
Trait Implementations§
Source§impl<'a, 'b, C, D, COLL> Clone for DocumentStruct<'a, 'b, C, D, COLL>where
C: CosmosClient + Clone + Clone,
D: DatabaseClient<C> + Clone + Clone,
COLL: CollectionClient<C, D> + Clone + Clone,
impl<'a, 'b, C, D, COLL> Clone for DocumentStruct<'a, 'b, C, D, COLL>where
C: CosmosClient + Clone + Clone,
D: DatabaseClient<C> + Clone + Clone,
COLL: CollectionClient<C, D> + Clone + Clone,
Source§fn clone(&self) -> DocumentStruct<'a, 'b, C, D, COLL>
fn clone(&self) -> DocumentStruct<'a, 'b, C, D, COLL>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a, 'b, C, D, COLL> Debug for DocumentStruct<'a, 'b, C, D, COLL>where
C: CosmosClient + Clone + Debug,
D: DatabaseClient<C> + Clone + Debug,
COLL: CollectionClient<C, D> + Clone + Debug,
impl<'a, 'b, C, D, COLL> Debug for DocumentStruct<'a, 'b, C, D, COLL>where
C: CosmosClient + Clone + Debug,
D: DatabaseClient<C> + Clone + Debug,
COLL: CollectionClient<C, D> + Clone + Debug,
Source§impl<'a, 'b, C, D, COLL> DocumentClient<C, D, COLL> for DocumentStruct<'a, 'b, C, D, COLL>
impl<'a, 'b, C, D, COLL> DocumentClient<C, D, COLL> for DocumentStruct<'a, 'b, C, D, COLL>
fn document_name(&self) -> &str
fn partition_keys(&self) -> &PartitionKeys
fn get_document(&self) -> GetDocumentBuilder<'_, '_, C, D, COLL>
fn delete_document(&self) -> DeleteDocumentBuilder<'_, C, D, COLL>
fn list_attachments(&self) -> ListAttachmentsBuilder<'_, '_, C, D, COLL>
fn prepare_request(&self, method: Method) -> Builder
fn prepare_request_with_document_name(&self, method: Method) -> Builder
Source§impl<'a, 'b, C, D, COLL> HasCollectionClient<C, D, COLL> for DocumentStruct<'a, 'b, C, D, COLL>
impl<'a, 'b, C, D, COLL> HasCollectionClient<C, D, COLL> for DocumentStruct<'a, 'b, C, D, COLL>
fn collection_client(&self) -> &COLL
Source§impl<'a, 'b, C, D, COLL> HasCosmosClient<C> for DocumentStruct<'a, 'b, C, D, COLL>
impl<'a, 'b, C, D, COLL> HasCosmosClient<C> for DocumentStruct<'a, 'b, C, D, COLL>
fn cosmos_client(&self) -> &C
Source§impl<'a, 'b, C, D, COLL> HasDatabaseClient<C, D> for DocumentStruct<'a, 'b, C, D, COLL>
impl<'a, 'b, C, D, COLL> HasDatabaseClient<C, D> for DocumentStruct<'a, 'b, C, D, COLL>
fn database_client(&self) -> &D
Source§impl<'a, 'b, C, D, COLL> HasHyperClient for DocumentStruct<'a, 'b, C, D, COLL>
impl<'a, 'b, C, D, COLL> HasHyperClient for DocumentStruct<'a, 'b, C, D, COLL>
fn hyper_client(&self) -> &Client<HttpsConnector<HttpConnector>>
Source§impl<'a, 'b, C, D, COLL> IntoAttachmentClient<'a, C, D, COLL, DocumentStruct<'a, 'b, C, D, COLL>, AttachmentStruct<'a, C, D, COLL, DocumentStruct<'a, 'b, C, D, COLL>>> for DocumentStruct<'a, 'b, C, D, COLL>
impl<'a, 'b, C, D, COLL> IntoAttachmentClient<'a, C, D, COLL, DocumentStruct<'a, 'b, C, D, COLL>, AttachmentStruct<'a, C, D, COLL, DocumentStruct<'a, 'b, C, D, COLL>>> for DocumentStruct<'a, 'b, C, D, COLL>
fn into_attachment_client<IntoCowStr>( self, attachment_name: IntoCowStr, ) -> AttachmentStruct<'a, C, D, COLL, Self>
Source§impl<'a, 'b, C, D> IntoDocumentClient<'b, C, D, CollectionStruct<'a, C, D>, DocumentStruct<'a, 'b, C, D, CollectionStruct<'a, C, D>>> for CollectionStruct<'a, C, D>
impl<'a, 'b, C, D> IntoDocumentClient<'b, C, D, CollectionStruct<'a, C, D>, DocumentStruct<'a, 'b, C, D, CollectionStruct<'a, C, D>>> for CollectionStruct<'a, C, D>
fn into_document_client<DocName>( self, document_name: DocName, partition_keys: PartitionKeys, ) -> DocumentStruct<'a, 'b, C, D, Self>
Source§impl<'a, 'b, C, D, COLL> WithAttachmentClient<'a, C, D, COLL, DocumentStruct<'a, 'b, C, D, COLL>, AttachmentStruct<'a, C, D, COLL, DocumentStruct<'a, 'b, C, D, COLL>>> for DocumentStruct<'a, 'b, C, D, COLL>
impl<'a, 'b, C, D, COLL> WithAttachmentClient<'a, C, D, COLL, DocumentStruct<'a, 'b, C, D, COLL>, AttachmentStruct<'a, C, D, COLL, DocumentStruct<'a, 'b, C, D, COLL>>> for DocumentStruct<'a, 'b, C, D, COLL>
fn with_attachment_client<IntoCowStr>( &'a self, attachment_name: IntoCowStr, ) -> AttachmentStruct<'a, C, D, COLL, Self>
Source§impl<'a, 'b, C, D> WithDocumentClient<'a, 'b, C, D, CollectionStruct<'a, C, D>, DocumentStruct<'a, 'b, C, D, CollectionStruct<'a, C, D>>> for CollectionStruct<'a, C, D>
impl<'a, 'b, C, D> WithDocumentClient<'a, 'b, C, D, CollectionStruct<'a, C, D>, DocumentStruct<'a, 'b, C, D, CollectionStruct<'a, C, D>>> for CollectionStruct<'a, C, D>
fn with_document_client<DocName>( &'a self, document_name: DocName, partition_keys: PartitionKeys, ) -> DocumentStruct<'a, 'b, C, D, Self>
Auto Trait Implementations§
impl<'a, 'b, C, D, COLL> Freeze for DocumentStruct<'a, 'b, C, D, COLL>where
COLL: Freeze,
impl<'a, 'b, C, D, COLL> RefUnwindSafe for DocumentStruct<'a, 'b, C, D, COLL>
impl<'a, 'b, C, D, COLL> Send for DocumentStruct<'a, 'b, C, D, COLL>
impl<'a, 'b, C, D, COLL> Sync for DocumentStruct<'a, 'b, C, D, COLL>
impl<'a, 'b, C, D, COLL> Unpin for DocumentStruct<'a, 'b, C, D, COLL>
impl<'a, 'b, C, D, COLL> UnwindSafe for DocumentStruct<'a, 'b, C, D, COLL>
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