Trait AttachmentClient
Source pub trait AttachmentClient<C, D, COLL, DOC>: HasDocumentClient<C, D, COLL, DOC>{
// 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>;
// Provided methods
fn prepare_request(&self, method: Method) -> Builder { ... }
fn prepare_request_with_attachment_name(&self, method: Method) -> Builder { ... }
}