[][src]Trait azure_sdk_cosmos::AttachmentClient

pub trait AttachmentClient<C, D, COLL, DOC>: HasDocumentClient<C, D, COLL, DOC> where
    C: CosmosClient,
    D: DatabaseClient<C>,
    COLL: CollectionClient<C, D>,
    DOC: DocumentClient<C, D, COLL>, 
{ fn attachment_name(&self) -> &str;
fn create_slug(
        &self
    ) -> CreateSlugAttachmentBuilder<C, D, COLL, DOC, No, No>;
fn replace_slug(
        &self
    ) -> ReplaceSlugAttachmentBuilder<C, D, COLL, DOC, No, No>;
fn create_reference(
        &self
    ) -> CreateReferenceAttachmentBuilder<C, D, COLL, DOC, No, No>;
fn replace_reference(
        &self
    ) -> ReplaceReferenceAttachmentBuilder<C, D, COLL, DOC, No, No>;
fn delete(&self) -> DeleteAttachmentBuilder<C, D, COLL, DOC>;
fn get(&self) -> GetAttachmentBuilder<C, D, COLL, DOC>; fn prepare_request(&self, method: Method) -> Builder { ... }
fn prepare_request_with_attachment_name(&self, method: Method) -> Builder { ... } }

Required methods

fn attachment_name(&self) -> &str

fn create_slug(&self) -> CreateSlugAttachmentBuilder<C, D, COLL, DOC, No, No>

fn replace_slug(&self) -> ReplaceSlugAttachmentBuilder<C, D, COLL, DOC, No, No>

fn create_reference(
    &self
) -> CreateReferenceAttachmentBuilder<C, D, COLL, DOC, No, No>

fn replace_reference(
    &self
) -> ReplaceReferenceAttachmentBuilder<C, D, COLL, DOC, No, No>

fn delete(&self) -> DeleteAttachmentBuilder<C, D, COLL, DOC>

fn get(&self) -> GetAttachmentBuilder<C, D, COLL, DOC>

Loading content...

Provided methods

Loading content...

Implementors

impl<'a, C, D, COLL, DOC> AttachmentClient<C, D, COLL, DOC> for AttachmentStruct<'a, C, D, COLL, DOC> where
    C: CosmosClient + Clone,
    D: DatabaseClient<C> + Clone,
    COLL: CollectionClient<C, D> + Clone,
    DOC: DocumentClient<C, D, COLL> + Clone
[src]

Loading content...