Struct couchdb::action::DeleteDocument [] [src]

pub struct DeleteDocument<'a, P: IntoDocumentPath> {
    // some fields omitted
}

Action to delete a document.

Return

This action returns the document's new revision.

Errors

The following are some of the errors that may occur as a result of executing this action:

Methods

impl<'a, P: IntoDocumentPath> DeleteDocument<'a, P>

fn run(self) -> Result<Revision, Error>

Sends the action request and waits for the response.